Application left in task manager after close

Topics: General
Apr 24, 2013 at 9:42 PM

I created a very simple Win form application:
       MainMap.MinZoom = 1;
        MainMap.MaxZoom = 22;
        MainMap.MapProvider = GMap.NET.MapProviders.GMapProviders.GoogleMap;

        MainMap.Zoom = 12;
        MainMap.Position = new PointLatLng(-36.9, 174.7);
There is no more lines in my test application, only these five lines of code.

I runs okay and shows the map happily. If I use the mouse wheel to zoom in/out the map many times, after I close the application, it got left in task manager, maybe 2 minutes, maybe 10 minutes, sometimes forever. I more I zoom the map, the longer it stuck in task manager. If I do not zoom the map at all, it disappears from task manager straightway after I close it.

I tried on XP + SP3, Win7 and the application was compiled both with .Net 2.0, 3.5 framework, and makes no difference.

Thanks in advance for your help.


Wei Guo
Apr 25, 2013 at 6:51 AM
it's by design, loaded tiles are saved to the disk in the background even after you turn your app off

if you want to discard loaded tiles, and load them again next time from server, use this on exit event: