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:
@@ -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 ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user