Replace useless use of WCF.PeriodicalExecuter by setTimeout in WCF.ACP.Package.Instal...
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 16 Feb 2023 09:34:27 +0000 (10:34 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 16 Feb 2023 09:34:27 +0000 (10:34 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js

index 1cb36847a0c3ffc4dfb3d197280adcbd407dfe7b..5cafd8c27f39ba59e0d7b66db1ae7c100f0e060c 100644 (file)
@@ -352,9 +352,7 @@ WCF.ACP.Package.Installation = Class.extend({
                        this._dialog.wcfDialog('close');
                        this._dialog.remove();
                        
-                       new WCF.PeriodicalExecuter(function(pe) {
-                               pe.stop();
-                               
+                       setTimeout(function () {
                                var $uninstallation = new WCF.ACP.Package.Uninstallation();
                                $uninstallation.start(data.packageID);
                        }, 200);