Should return empty function
This commit is contained in:
parent
7617928b8e
commit
eef11245eb
@ -69,7 +69,7 @@ class Chain
|
|||||||
{
|
{
|
||||||
Dragonfly.Info( "MultiChain " + name + ": length is zero, directly running handler" );
|
Dragonfly.Info( "MultiChain " + name + ": length is zero, directly running handler" );
|
||||||
handler.apply( undefined, [] );
|
handler.apply( undefined, [] );
|
||||||
return;
|
return () => {};
|
||||||
}
|
}
|
||||||
|
|
||||||
var _self = this;
|
var _self = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user