mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Fight deadlocks
This commit is contained in:
parent
bb907fb405
commit
6a939eb250
2 changed files with 13 additions and 10 deletions
|
@ -933,7 +933,7 @@ sub pause_background_process {
|
|||
my ($self) = @_;
|
||||
|
||||
if ($self->{process_thread} || $self->{export_thread}) {
|
||||
Slic3r::pause_threads();
|
||||
Slic3r::pause_all_threads();
|
||||
} elsif (defined $self->{apply_config_timer} && $self->{apply_config_timer}->IsRunning) {
|
||||
$self->{apply_config_timer}->Stop;
|
||||
}
|
||||
|
@ -943,7 +943,7 @@ sub resume_background_process {
|
|||
my ($self) = @_;
|
||||
|
||||
if ($self->{process_thread} || $self->{export_thread}) {
|
||||
Slic3r::resume_threads();
|
||||
Slic3r::resume_all_threads();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue