Browse Source

Misc

gh-pages
falkTX 10 years ago
parent
commit
abec16b8e2
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      dgl/src/App.cpp

+ 6
- 2
dgl/src/App.cpp View File

@@ -32,6 +32,12 @@ struct App::PrivateData {
PrivateData()
: doLoop(false),
visibleWindows(0) {}

~PrivateData()
{
windows.clear();
idleCallbacks.clear();
}
};

// -----------------------------------------------------------------------
@@ -43,8 +49,6 @@ App::App()

App::~App()
{
pData->windows.clear();
pData->idleCallbacks.clear();
delete pData;
}



Loading…
Cancel
Save