Skip to content

Commit 9596e3a

Browse files
committed
Destroy opened dialogs before closing nanovg surface on window close
1 parent 63e07e9 commit 9596e3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/PluginEditor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ class PluginEditor final : public AudioProcessorEditor
136136
std::unique_ptr<Sidebar> sidebar;
137137
std::unique_ptr<Statusbar> statusbar;
138138

139-
std::unique_ptr<Dialog> openedDialog;
140-
141139
Value theme;
142140
Value autoconnect;
143141

144142
std::unique_ptr<Palettes> palettes;
145143

146144
NVGSurface nvgSurface;
145+
146+
std::unique_ptr<Dialog> openedDialog;
147147

148148
// used to display callOutBoxes only in a safe area between top & bottom toolbars
149149
Component callOutSafeArea;

0 commit comments

Comments
 (0)