mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Disable Net::DBus. #1015
This commit is contained in:
1
Build.PL
1
Build.PL
@@ -28,7 +28,6 @@ my $build = Module::Build->new(
|
||||
recommends => {
|
||||
'Class::XSAccessor' => '0',
|
||||
'Growl::GNTP' => '0.15',
|
||||
'Net::DBus' => '0',
|
||||
'XML::SAX::ExpatXS' => '0',
|
||||
'Wx' => '0.9901',
|
||||
},
|
||||
|
||||
@@ -480,7 +480,8 @@ sub notify {
|
||||
$self->{growler}->notify(Event => 'SKEIN_DONE', Title => $title, Message => $message)
|
||||
if $self->{growler};
|
||||
};
|
||||
if (eval 'use Net::DBus; 1') {
|
||||
# Net::DBus is broken in multithreaded environment
|
||||
if (0 && eval 'use Net::DBus; 1') {
|
||||
eval {
|
||||
my $session = Net::DBus->session;
|
||||
my $serv = $session->get_service('org.freedesktop.Notifications');
|
||||
|
||||
Reference in New Issue
Block a user