mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 10:43:33 +02:00
Receiver
- Dispose the `Event` after call to `join()` Sender - Dispose the `Event` after call to `join()`
This commit is contained in:
parent
6119dd94c8
commit
7cfed69036
@ -248,6 +248,7 @@ public final class ReceiverThread : Thread
|
||||
// Wait on the manager thread to end
|
||||
join();
|
||||
|
||||
// TODO: Call dispose() on eventy event
|
||||
// Dispose the eventy event (TODO: We could do this then join for same effect)
|
||||
receiveEvent.dispose();
|
||||
}
|
||||
}
|
@ -153,6 +153,7 @@ public final class SenderThread : Thread
|
||||
// Wait on the manager thread to end
|
||||
join();
|
||||
|
||||
// TODO: Call dispose() on eventy event
|
||||
// Dispose the eventy event (TODO: We could do this then join for same effect)
|
||||
sendEvent.dispose();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user