Fine tune Engine size.

This commit is contained in:
Stephen Chung
2023-03-07 16:52:37 +08:00
parent 3e784d592d
commit fa4096e91e
8 changed files with 56 additions and 54 deletions

View File

@@ -363,7 +363,7 @@ impl Engine {
+ SendSync
+ 'static,
) -> &mut Self {
self.debugger_interface = Some(Box::new((Box::new(init), Box::new(callback))));
self.debugger_interface = Some((Box::new(init), Box::new(callback)));
self
}
}