diff options
-rwxr-xr-x | apanel.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |