resolve deadlock, fix component.rs
This commit is contained in:
parent
b2a18f8e3e
commit
1550c52552
5 changed files with 55 additions and 50 deletions
|
|
@ -9,7 +9,7 @@ macro_rules! impl_plugin {
|
|||
|
||||
#[allow(unused_variables)]
|
||||
impl $crate::plugin::PluginInit for $plugin {
|
||||
fn init( dispatcher: &mut $crate::event::Dispatcher
|
||||
fn init( dispatcher: &$crate::event::Dispatcher
|
||||
, me: ::std::sync::Arc<Box<$crate::plugin::Plugin>>) {
|
||||
$(
|
||||
let new_arc = me.clone();
|
||||
|
|
|
|||
Loading…
Reference in a new issue