I am getting a lot of unreleased instances of a lot of stuff. I am trying to close the application with:
csRef<iEventQueue> q = CS_QUERY_REGISTRY(Phage::GetObjectRegistry(), iEventQueue);
if (q.IsValid()) q->GetEventOutlet()->Broadcast(csevQuit(Phage::GetObjectRegistry()));
In an external class, then:
// Exit loop
In my base class, but it's not 'cleaning up' everything. What am I doing wrong?