[QGIS-trac] [Quantum GIS] #3531: Bug: QgisApp instance never delete

Quantum GIS qgis at qgis.org
Mon Feb 28 08:47:44 EST 2011


#3531: Bug: QgisApp instance never delete
---------------------------------------------------------+------------------
   Reporter:  05092009                                   |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  GUI                                        |            Version:  Trunk        
   Keywords:  QgissApp, big memory leak, serious bug     |   Platform_version:               
   Platform:  All                                        |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 By the time application finishes, QgisApp instance won't be deleted.
 It happens, because it's constructor is never called.
 Instance of QgisApp is created in function main(main.cpp),
 but main finishes with myApp.exec().
 So when application will be about to close, instance will still be in the
 memory and won'be deleted.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3531>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list