Add parameter to debugger init.
This commit is contained in:
@@ -348,7 +348,7 @@ impl Engine {
|
||||
#[inline(always)]
|
||||
pub fn register_debugger(
|
||||
&mut self,
|
||||
init: impl Fn() -> Dynamic + SendSync + 'static,
|
||||
init: impl Fn(&Engine) -> Dynamic + SendSync + 'static,
|
||||
callback: impl Fn(
|
||||
EvalContext,
|
||||
crate::eval::DebuggerEvent,
|
||||
|
Reference in New Issue
Block a user