mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-22 00:03:20 +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> {
|
impl<'a> Drop for LibeiInputCapture<'a> {
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
if !self.terminated {
|
if !self.terminated {
|
||||||
|
/* this workaround is needed until async drop is stabilized */
|
||||||
panic!("LibeiInputCapture dropped without being terminated!");
|
panic!("LibeiInputCapture dropped without being terminated!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user