diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 08:05:40 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 08:05:40 +0000 |
commit | 34d561d1468bfd0a380d755d6c991ec1b7ed79cf (patch) | |
tree | 61a6267280dd6808cf5310a8981cce4a530f2674 /plugins/MirOTR/src/dllmain.cpp | |
parent | 944482ac36d1f1d6e14cf791130bea5c7c9de01b (diff) |
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13283 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/dllmain.cpp')
-rw-r--r-- | plugins/MirOTR/src/dllmain.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/MirOTR/src/dllmain.cpp b/plugins/MirOTR/src/dllmain.cpp index 643ffea251..2b3bd3d31a 100644 --- a/plugins/MirOTR/src/dllmain.cpp +++ b/plugins/MirOTR/src/dllmain.cpp @@ -33,11 +33,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda int ModulesLoaded(WPARAM wParam, LPARAM lParam) { - InitUtils(); - lib_cs_lock(); otr_user_state = otrl_userstate_create(); - lib_cs_unlock(); // this calls ReadPrivkeyFiles (above) to set filename values (also called on ME_FOLDERS_PATH_CHANGED) InitOptions(); @@ -112,9 +109,6 @@ extern "C" __declspec(dllexport) int Unload(void) lib_cs_lock(); otrl_userstate_free(otr_user_state); - lib_cs_unlock(); - - DeinitUtils(); return 0; } |