Fix application shutdown on incompatible profile exit
This commit is contained in:
parent
2df6e08eed
commit
dfb70ec6e6
@ -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 ($@) {
|
||||||
|
Loading…
Reference in New Issue
Block a user