mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Prevent crash when user deleted object from plater before thumbnail was generated in the other thread. #1207
This commit is contained in:
parent
7a8e1e778a
commit
9ea55497c2
2 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,7 @@ sub warning_catcher {
|
|||
my ($self, $message_dialog) = @_;
|
||||
return sub {
|
||||
my $message = shift;
|
||||
return if $message =~ /GLUquadricObjPtr|Attempt to free unreferenced scalar/;
|
||||
my @params = ($message, 'Warning', wxOK | wxICON_WARNING);
|
||||
$message_dialog
|
||||
? $message_dialog->(@params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue