mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 737376 - Shut down the wifi system on shutdown. r=cjones
This commit is contained in:
parent
4ccbf5168d
commit
a9840236d4
@ -254,6 +254,11 @@ SystemWorkerManager::Shutdown()
|
||||
StopRil();
|
||||
|
||||
mRILWorker = nsnull;
|
||||
nsCOMPtr<nsIWifi> wifi(do_QueryInterface(mWifiWorker));
|
||||
if (wifi) {
|
||||
wifi->Shutdown();
|
||||
wifi = nsnull;
|
||||
}
|
||||
mWifiWorker = nsnull;
|
||||
|
||||
nsCOMPtr<nsIObserverService> obs =
|
||||
|
@ -39,8 +39,12 @@
|
||||
#include "nsIDOMDOMRequest.idl"
|
||||
#include "nsIDOMEvent.idl"
|
||||
|
||||
[scriptable, uuid(9DCE05BF-659C-4427-A050-0EAC3BB6C1C0)]
|
||||
[scriptable, uuid(abb936bc-ba81-4c23-8dfa-3e5d96557044)]
|
||||
interface nsIWifi : nsISupports {
|
||||
/**
|
||||
* Shutdown the wifi system.
|
||||
*/
|
||||
void shutdown();
|
||||
};
|
||||
|
||||
[scriptable, uuid(1509221f-470e-4445-b476-88e74fd5c617)]
|
||||
|
Loading…
Reference in New Issue
Block a user