aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapanel.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/apanel.pl b/apanel.pl
index 38755eba..a01e535f 100755
--- a/apanel.pl
+++ b/apanel.pl
@@ -2,6 +2,7 @@
# vim: set et ts=4 sw=4:
# Copyright 2012 Steven Tucker
# Copyright 2013 Matteo Pasotti
+# Copyright 2014 Angelo Naselli
#
# This file is part of AdminPanel
#
@@ -41,6 +42,7 @@ while (1) {
my $launch = $mainWin->start();
if ($launch) {
+ $mainWin->destroy();
$launch->start();
undef($mainWin);
}