diff options
-rw-r--r-- | protocols/Skype/src/skype.cpp | 1 | ||||
-rw-r--r-- | protocols/Skype/src/skype_proto.h | 1 | ||||
-rw-r--r-- | protocols/Skype/src/skype_services.cpp | 11 |
3 files changed, 1 insertions, 12 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp index 80ba931a6b..c889a17449 100644 --- a/protocols/Skype/src/skype.cpp +++ b/protocols/Skype/src/skype.cpp @@ -269,7 +269,6 @@ extern "C" int __declspec(dllexport) Load(void) extern "C" int __declspec(dllexport) Unload(void)
{
CSkypeProto::UninitMenus();
- CSkypeProto::UninitServiceList();
CSkypeProto::UninitIcons();
g_skype->stop();
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h index 8529496b2c..71ee2313ff 100644 --- a/protocols/Skype/src/skype_proto.h +++ b/protocols/Skype/src/skype_proto.h @@ -95,7 +95,6 @@ public: // services
static void InitServiceList();
- static void UninitServiceList();
// icons
static void InitIcons();
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp index 9c5a4d034b..572867f984 100644 --- a/protocols/Skype/src/skype_services.cpp +++ b/protocols/Skype/src/skype_services.cpp @@ -6,13 +6,4 @@ void CSkypeProto::InitServiceList() {
CSkypeProto::serviceList.insert(
::CreateServiceFunction("Skype/MenuChoose", CSkypeProto::MenuChooseService));
-}
-
-void CSkypeProto::UninitServiceList()
-{
- for (int i = 0; i < CSkypeProto::serviceList.getCount(); i++)
- {
- ::DestroyServiceFunction(CSkypeProto::serviceList[i]);
- }
- CSkypeProto::serviceList.destroy();
-}
+}
\ No newline at end of file |