@joel Fixed deleteModules splice : deleteCount param wasn't present, causing all modules with index > i to be removed from this.currentModules. Fortunately, this was only happening if a scope was given to deleteModules.
This commit is contained in:
@@ -71,7 +71,7 @@ class App {
|
||||
if (destroyAll || arrayContains(moduleIds, this.currentModules[i].uid)) {
|
||||
removeFromArray(moduleIds, this.currentModules[i].uid);
|
||||
this.currentModules[i].destroy();
|
||||
this.currentModules.splice(i);
|
||||
this.currentModules.splice(i, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user