05e5036584
The previous commit added a new worker thread. This thread might sit in wait_for_event() indefinitely even after the X11Source was dropped. This is because nothing guarantees that an X11 event will come in "soonish". And only then would the thread notice that its main thread is gone. This commit cleans that up by having X11Source explicitly wake up the event thread and wait for it to exit in its Drop implementation. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
resources | ||
src | ||
Cargo.toml | ||
build.rs |