Added comment for future reference about the validity of using delete in

the demo code... should really by using ref_ptr<> etc.
This commit is contained in:
Robert Osfield
2002-11-25 16:57:49 +00:00
parent aa3d887e94
commit d370227d89

View File

@@ -161,7 +161,9 @@ int main( int argc, char **argv )
// fire up the event loop.
viewer->run();
// Close things down
// Close things down
// (note from Robert Osfield, umm.... we should be using ref_ptr<> for handling memory here, this isn't robust..)
delete pageManager;
delete txpArchive;
delete viewer;