mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
Fix ctrl surface shutdown sequence
Tear down GUI before stopping event loop, this fixes a crash on windows (and perhaps a rare crash on other OS).
This commit is contained in:
parent
676b372ac5
commit
fa6fbbf810
5 changed files with 8 additions and 6 deletions
|
|
@ -61,11 +61,11 @@ Console1::~Console1 ()
|
|||
{
|
||||
all_lights_out ();
|
||||
|
||||
tear_down_gui ();
|
||||
|
||||
stop_event_loop ();
|
||||
MIDISurface::drop ();
|
||||
|
||||
tear_down_gui ();
|
||||
|
||||
for (const auto& b : buttons) {
|
||||
delete b.second;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue