[farsight2/master] Don't hold the component lock when stopping the udpport
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:24:02 PST 2008
---
transmitters/rawudp/fs-rawudp-component.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 5158f8f..deb9d2c 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -554,10 +554,12 @@ fs_rawudp_component_stop (FsRawUdpComponent *self)
fs_rawudp_transmitter_udpport_remove_known_address (udpport,
&self->priv->remote_address, remote_is_unique_cb, self);
+ FS_RAWUDP_COMPONENT_UNLOCK (self);
+
fs_rawudp_transmitter_put_udpport (self->priv->transmitter, udpport);
}
-
- FS_RAWUDP_COMPONENT_UNLOCK (self);
+ else
+ FS_RAWUDP_COMPONENT_UNLOCK (self);
}
static void
--
1.5.6.5
More information about the farsight-commits
mailing list