From 15b9b7a54e49f75c5933cf3b6388296d0b43a9d0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Apr 2007 01:24:03 +0000 Subject: 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 --- src/LashDriver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/LashDriver.h') 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, boost::shared_ptr) { return false; } -- cgit v1.2.1