add comment

This commit is contained in:
Ferdinand Schober
2024-07-15 12:56:36 +02:00
parent 824f5b52f5
commit 4a90d88420

View File

@@ -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!");
}
}