summaryrefslogtreecommitdiffstats
path: root/src/server/Broadcaster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Broadcaster.cpp')
-rw-r--r--src/server/Broadcaster.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/Broadcaster.cpp b/src/server/Broadcaster.cpp
index ab6b16fb..6c111a1c 100644
--- a/src/server/Broadcaster.cpp
+++ b/src/server/Broadcaster.cpp
@@ -26,6 +26,12 @@
namespace Ingen {
namespace Server {
+Broadcaster::~Broadcaster()
+{
+ Glib::Mutex::Lock lock(_clients_mutex);
+ _clients.clear();
+}
+
/** Register a client to receive messages over the notification band.
*/
void