summaryrefslogtreecommitdiffstats
path: root/src/LashDriver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-07 01:24:03 +0000
committerDavid Robillard <d@drobilla.net>2007-04-07 01:24:03 +0000
commit15b9b7a54e49f75c5933cf3b6388296d0b43a9d0 (patch)
tree848c9eb64921166d53b6d76483ec31568fe4c5e3 /src/LashDriver.h
parentdec8f83f342ed76611d7dff156ab29b8df554a00 (diff)
downloadpatchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.tar.gz
patchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.tar.bz2
patchage-15b9b7a54e49f75c5933cf3b6388296d0b43a9d0.zip
Removed aclocal.m4 from repository.
Possible fix for crash bug without LASH. git-svn-id: http://svn.drobilla.net/lad/patchage@410 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/LashDriver.h')
-rw-r--r--src/LashDriver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LashDriver.h b/src/LashDriver.h
index 67e6dbb..0121509 100644
--- a/src/LashDriver.h
+++ b/src/LashDriver.h
@@ -33,7 +33,8 @@ public:
void attach(bool launch_daemon);
void detach();
- bool is_attached() const { return _server_interface->enabled(); }
+ bool is_attached() const
+ { return _server_interface && _server_interface->enabled(); }
bool connect(boost::shared_ptr<PatchagePort>, boost::shared_ptr<PatchagePort>)
{ return false; }