mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Timer needed unsafe_destructor annotation
This commit is contained in:
@@ -70,6 +70,7 @@ impl<'a> Timer<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[unsafe_destructor]
|
||||
impl<'a> Drop for Timer<'a> {
|
||||
fn drop(&mut self) {
|
||||
if self.remove_on_drop {
|
||||
|
||||
Reference in New Issue
Block a user