mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-15 19:52:52 +02:00
Removing warnings here and there
This commit is contained in:
1 parent
2ae2c6a311
commit
67a076b360
3 files changed
+5
-5
No files matched your search
@@ -529,7 +529,7 @@ sub on_export_completed {
|
||||
my $self = shift;
|
||||
my ($message) = @_;
|
||||
|
||||
$self->{export_thread}->detach;
|
||||
$self->{export_thread}->detach if $self->{export_thread};
|
||||
$self->{export_thread} = undef;
|
||||
$self->statusbar->SetCancelCallback(undef);
|
||||
$self->statusbar->StopBusy;
|
||||
@@ -541,7 +541,7 @@ sub on_export_failed {
|
||||
my $self = shift;
|
||||
my ($message) = @_;
|
||||
|
||||
$self->{export_thread}->detach;
|
||||
$self->{export_thread}->detach if $self->{export_thread};
|
||||
$self->{export_thread} = undef;
|
||||
$self->statusbar->SetCancelCallback(undef);
|
||||
$self->statusbar->StopBusy;
|
||||
|
||||
Reference in new issue
Block a user