Proper taskk panel cleanup on escape.

This commit is contained in:
Markus Lampert
2017-06-18 14:53:24 -07:00
parent a689ebd5d7
commit 03c5168d89
3 changed files with 41 additions and 22 deletions

View File

@@ -135,7 +135,7 @@ public:
{
#ifdef FC_DEBUG
size_t count = _ObserverSet.size();
printf("Attach observer %p\n", ToObserv);
//printf("Attach observer %p\n", ToObserv);
_ObserverSet.insert(ToObserv);
if ( _ObserverSet.size() == count )
printf("Observer %p already attached\n", ToObserv);
@@ -154,7 +154,7 @@ public:
{
#ifdef FC_DEBUG
size_t count = _ObserverSet.size();
printf("Detach observer %p\n", ToObserv);
//printf("Detach observer %p\n", ToObserv);
_ObserverSet.erase(ToObserv);
if ( _ObserverSet.size() == count )
printf("Observer %p already detached\n", ToObserv);