projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e6205
)
let GMainContext clean up after us.
author
Robin Gareus
<robin@gareus.org>
Tue, 26 Apr 2016 17:45:06 +0000
(19:45 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 26 Apr 2016 17:45:06 +0000
(19:45 +0200)
this fixes a potential crash in
AsyncMIDIPort::~AsyncMIDIPort() -> CrossThreadChannel::~CrossThreadChannel()
libs/pbd/crossthread.posix.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/crossthread.posix.cc
b/libs/pbd/crossthread.posix.cc
index 72a4fad810dcf221548f00526a6502f96e43513a..5035bc49da9d60ba6da8860a234650a4d1ea9bb6 100644
(file)
--- 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;