diff --git a/src/io/scheduler.rs b/src/io/scheduler.rs index a20f776c..b7df0ffa 100644 --- a/src/io/scheduler.rs +++ b/src/io/scheduler.rs @@ -62,6 +62,7 @@ pub struct ThreadLocalTessellatorState { #[cfg(target_arch = "wasm32")] impl Drop for ThreadLocalTessellatorState { fn drop(&mut self) { + use log::warn; warn!( "ThreadLocalTessellatorState dropped. \ On web this should only happen when the application is stopped!"