summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-26 19:45:06 +0200
committerRobin Gareus <robin@gareus.org>2016-04-26 19:45:06 +0200
commit4b8bc84e4a5236ce2acaf6fc245c9c213a1c4969 (patch)
treef64861267c3c71d5d87bf9352b5b99cac686417e /libs/pbd
parent43e620504aebdf0b1c3edb9d9fc8bd2c10accc50 (diff)
let GMainContext clean up after us.
this fixes a potential crash in AsyncMIDIPort::~AsyncMIDIPort() -> CrossThreadChannel::~CrossThreadChannel()
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/crossthread.posix.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/pbd/crossthread.posix.cc b/libs/pbd/crossthread.posix.cc
index 72a4fad810..5035bc49da 100644
--- a/libs/pbd/crossthread.posix.cc
+++ b/libs/pbd/crossthread.posix.cc
@@ -29,11 +29,6 @@ CrossThreadChannel::CrossThreadChannel (bool non_blocking)
CrossThreadChannel::~CrossThreadChannel ()
{
- if (receive_source) {
- g_source_destroy (receive_source);
- receive_source = 0;
- }
-
if (receive_channel) {
g_io_channel_unref (receive_channel);
receive_channel = 0;