Clear bots array upon meta unload.
This commit is contained in:
parent
0f23ef8e4f
commit
b3e9024fb5
2 changed files with 5 additions and 5 deletions
|
|
@ -893,6 +893,9 @@ CR_EXPORT int Meta_Detach (PLUG_LOADTIME now, PL_UNLOAD_REASON reason) {
|
|||
graph.savePractice ();
|
||||
util.disableSendTo ();
|
||||
|
||||
// make sure all stuff cleared
|
||||
bots.destroy ();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue