diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 18:42:01 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-30 18:42:01 +0000 |
commit | 0ed074b1b6d10f263f33ffd771ad0ffa5ac70011 (patch) | |
tree | 7f264269e02ced09d0a6d950f08fe09e0a00baf9 /plugins/FavContacts/src/contact_cache.cpp | |
parent | 440c4d7f69584eb52720c44a388efff358d41282 (diff) |
minus critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@13299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/contact_cache.cpp')
-rw-r--r-- | plugins/FavContacts/src/contact_cache.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/FavContacts/src/contact_cache.cpp b/plugins/FavContacts/src/contact_cache.cpp index 6be8cc2543..fc6c2dc45d 100644 --- a/plugins/FavContacts/src/contact_cache.cpp +++ b/plugins/FavContacts/src/contact_cache.cpp @@ -10,8 +10,6 @@ static int CompareItem(const CContactCache::TContactInfo *p1, const CContactCach CContactCache::CContactCache() :
m_cache(50, CompareItem)
{
- InitializeCriticalSection(&m_cs);
-
int(__cdecl CContactCache::*pfn)(WPARAM, LPARAM);
pfn = &CContactCache::OnDbEventAdded;
HookEventObj(ME_DB_EVENT_ADDED, *(MIRANDAHOOKOBJ *)&pfn, this);
@@ -23,8 +21,6 @@ CContactCache::~CContactCache() {
for (int i = 0; i < m_cache.getCount(); i++)
delete m_cache[i];
-
- DeleteCriticalSection(&m_cs);
}
int __cdecl CContactCache::OnDbEventAdded(WPARAM hContact, LPARAM hEvent)
|