Timer needed unsafe_destructor annotation

This commit is contained in:
Frederic Heihoff
2014-07-17 21:05:34 +02:00
parent daabf3f139
commit 1b6511fd72
+1
View File
@@ -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 {