mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +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
|
|
@ -138,7 +138,6 @@ OSC::~OSC()
|
|||
{
|
||||
tick = false;
|
||||
stop ();
|
||||
tear_down_gui ();
|
||||
_instance = 0;
|
||||
}
|
||||
|
||||
|
|
@ -315,6 +314,8 @@ OSC::thread_init ()
|
|||
int
|
||||
OSC::stop ()
|
||||
{
|
||||
tear_down_gui ();
|
||||
|
||||
periodic_connection.disconnect ();
|
||||
session_connections.drop_connections ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue