src/libs/Module.js
function stopAll() {
  const oModules = getModules();
  iterateObject(oModules, function (_oModule, sModuleId) {
    if (!isTypeOf(_oModule, sNotDefined)) {
      _stopOneByOne(_oModule, sModuleId);
    }
  });
}
function stopAll() {
  const oModules = getModules();
  iterateObject(oModules, function (_oModule, sModuleId) {
    if (!isTypeOf(_oModule, sNotDefined)) {
      _stopOneByOne(_oModule, sModuleId);
    }
  });
}
stopAll is the method that will finish all the registered and started modules.