mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 12:58:07 +01:00
Fixed cancelling a connection not working.
Stopped the gui status bar from updating while the gui is closed, which reduces CPU usage and should hopefully fix problems with hibernation not working while wicd was running.
This commit is contained in:
@@ -679,7 +679,7 @@ class ConnectionWizard(dbus.service.Object):
|
||||
''' Cancels the wireless connection attempt '''
|
||||
print 'canceling connection attempt'
|
||||
if not self.wifi.connecting_thread == None:
|
||||
self.wifi.connecting_thread.ShouldDie = True
|
||||
self.wifi.connecting_thread.should_die = True
|
||||
misc.Run("killall dhclient dhclient3 wpa_supplicant")
|
||||
#end function CancelConnect
|
||||
|
||||
|
||||
Reference in New Issue
Block a user