Drop option lock before polling iface

This commit is contained in:
jiangjianfeng 2025-11-24 03:42:01 +00:00 committed by Ruihan Li
parent 9cd86a2b62
commit 808d298938
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ impl StreamSocket {
});
drop(state);
drop(options);
self.pollee.invalidate();
if let Some(iface) = iface_to_poll {
iface.poll();