#26 ✓resolved
Jocelyn Legault

[bug] NppParameters need to truly behave as a singleton

Reported by Jocelyn Legault | December 4th, 2009 @ 09:44 PM | in v2.0.0

NppParameters is kind of a singleton, but it's not totally behaving as such: - its instance isn't created upon the first access to it - there's no static destructor for the instance.

These two things need to be fixed, so NppParameters' instance will live within the life cycle of main() instead of at some random point before the main function is entered.

Note: Ideally, that would not be a singleton at all, but a member of an application object, but that's way beyond the scope of this bug report.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Notepad++ Community Release

Shared Ticket Bins