mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 02:34:18 +00:00
avoiding initial deadlock
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@324 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
74e8473971
commit
003bdd30f2
@ -303,10 +303,9 @@ zap_status_t zap_span_create(zap_io_interface_t *zio, zap_span_t **span)
|
||||
*span = new_span;
|
||||
status = ZAP_SUCCESS;
|
||||
}
|
||||
zap_mutex_unlock(globals.mutex);
|
||||
|
||||
done:
|
||||
|
||||
zap_mutex_unlock(globals.mutex);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user