Fix application shutdown on incompatible profile exit

This commit is contained in:
Vojtech Kral 2018-07-24 10:50:03 +02:00
parent 2df6e08eed
commit dfb70ec6e6

View File

@ -141,7 +141,7 @@ sub OnInit {
$self->CallAfter(sub { $self->CallAfter(sub {
eval { eval {
if (! $self->{preset_updater}->config_update()) { if (! $self->{preset_updater}->config_update()) {
exit 0; $self->{mainframe}->Close;
} }
}; };
if ($@) { if ($@) {