mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-21 04:00:55 +03:00
add comment
This commit is contained in:
@@ -558,6 +558,7 @@ impl<'a> LanMouseInputCapture for LibeiInputCapture<'a> {
|
||||
impl<'a> Drop for LibeiInputCapture<'a> {
|
||||
fn drop(&mut self) {
|
||||
if !self.terminated {
|
||||
/* this workaround is needed until async drop is stabilized */
|
||||
panic!("LibeiInputCapture dropped without being terminated!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user