mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix critical glib warning if a BaseUI is quit without
being started. git-svn-id: svn://localhost/ardour2/branches/3.0@12219 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f015482088
commit
c8f6f87ea7
2 changed files with 3 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ BaseUI::run ()
|
|||
void
|
||||
BaseUI::quit ()
|
||||
{
|
||||
if (_main_loop->is_running()) {
|
||||
if (_main_loop && _main_loop->is_running()) {
|
||||
_main_loop->quit ();
|
||||
run_loop_thread->join ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue