mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpinet] uv: Stop creating handles when closing loop (#5102)
This prevents EventLoopRunner::Stop() from hanging in the case when new handles are created after the async walk closes all the handles.
This commit is contained in:
@@ -59,6 +59,7 @@ void EventLoopRunner::Stop() {
|
||||
h.SetLoopClosing(true);
|
||||
h.Close();
|
||||
});
|
||||
loop.SetClosing();
|
||||
});
|
||||
m_owner.Join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user