Skip to content

[BUG] The member variable _fileEditView of the Notepad_plus class is not released when the program exits #17817

@softmgr

Description

@softmgr

Is there an existing issue for this?

  • I have searched the existing issues

Is the issue reproducible in Notepad++ without plugin?

  • I have tried Notepad++ without plugin

Is the issue reproducible in portable version of Notepad++?

  • I have tried portable version of Notepad++

Does the issue affect SciTE?

  • I have tried SciTE

Description of the Issue

When the program processes the WM_DESTROY message, it calls the function killAllChildren to release all created ScintillaEditView windows. However, this function does not release the class member variable ScintillaEditView _fileEditView;. No call to _fileEditView.destroy(); can be found in other functions either.

Steps To Reproduce

none.

Current Behavior

As a result, _fileEditView is not released when the program exits.

Expected Behavior

The call to _fileEditView.destroy(); should be added to the killAllChildren function.

Debug Information

Notepad++ v8.9.1   (64-bit)
Build time: Jan 18 2026 - 22:45:31
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line: 
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: OFF
Periodic Backup: ON
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only) + cdAutoUpdate
Dark Mode: ON
Display Info:
    primary monitor: 1920x1200, scaling 100%
    visible monitors count: 1
    installed Display Class adapters: 
        0000: Description - AMD Radeon(TM) Graphics
        0000: DriverVersion - 32.0.11016.3
OS Name: Windows 11 Pro for Workstations (64-bit)
OS Version: 25H2
OS Build: 26200.7840
Current ANSI codepage: 1252
Plugins:

Anything else?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions