Drop option lock before polling iface
This commit is contained in:
parent
9cd86a2b62
commit
808d298938
|
|
@ -269,6 +269,7 @@ impl StreamSocket {
|
||||||
});
|
});
|
||||||
|
|
||||||
drop(state);
|
drop(state);
|
||||||
|
drop(options);
|
||||||
self.pollee.invalidate();
|
self.pollee.invalidate();
|
||||||
if let Some(iface) = iface_to_poll {
|
if let Some(iface) = iface_to_poll {
|
||||||
iface.poll();
|
iface.poll();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue