diff --git a/dom/system/gonk/SystemWorkerManager.cpp b/dom/system/gonk/SystemWorkerManager.cpp index 7332817662d2..edf8fb6dad27 100644 --- a/dom/system/gonk/SystemWorkerManager.cpp +++ b/dom/system/gonk/SystemWorkerManager.cpp @@ -130,7 +130,7 @@ SystemWorkerManager::Shutdown() mWifiWorker = nullptr; if (mKeyStore) { - mKeyStore->CloseSocket(); + mKeyStore->Shutdown(); mKeyStore = nullptr; }