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
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
|
||||
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
||||
ldd $TOP/$EXECUTABLE | grep boost
|
||||
ldd $TOP/build/libs/ardour/libardour.so | grep boost
|
||||
exec $TOP/$EXECUTABLE "$@"
|
||||
|
|
|
@ -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…
Reference in New Issue
Block a user