Hi,

on shutdown the destructores of all child classes  of the main widget
are called. And they call the dtors of their children and so on. Usually
this shouldn't be a problem. But maybe the log file gives a hint. Have a
look at the -f option on the commandline:

https://bitbucket.org/maproom/qmapshack/wiki/DocCmdOptions

HTH

Oliver

Am 05.04.2016 um 22:26 schrieb Helmut Schmidt:
> Hi zero,
>
> I made 5 tests and the QMS always disappeared latest 1sec after the 
> window disappeared. Of course this is not a useful statistics.
>
> I do not yet understand from your report whether QMS just takes long 
> time (say 5 seconds or 30 seconds or 1 minute) until it really 
> terminates after closing the main window. Or whether it hangs infinitely.
> Do you know whether the hangs would also happen when the .db file is in 
> an ordinary directory on your hard disk which is not synchronized? Which 
> means: could it be some kind of deadlock in between QMS and teh 
> synchronization service?
>
> @Oliver: can you tell what kind of cleanup actions happen after the 
> window disappears? Would it be possible to execute those actions before 
> closing the window?
>
> Regards,
>
> Helmut
>
> Am 05.04.2016 um 13:12 schrieb z...@cms123.fr:
>> Hello,
>>
>> As long as I remember, I always noticed that "quite often" (1 every 5
>> times maybe) when closing QMS, main window disappears as expected but
>> CTRL+ALT+SUPPR-> task manager reveals that "qmapshack.exe" is still
>> running in background.
>>
>> My main issue is that this causes synchronization issues with my .db
>> file stored on a Box account.
>>
>> When I close QMS (but that in fact QMS still runs is background), the
>> .db file remains unchanged and Box does not synchronize it. At this
>> point I have to go to Windows task manager to kill qmapshack.exe. Then
>> Box uploads the .db file to the cloud as expected.
>>
>> Maybe you have some ideas how to really close QMS, not leaving a running
>> instance in background.
>>
>> Thanks for your help,
>>
>> zero
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Qlandkartegt-users mailing list
>> Qlandkartegt-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>>
> ------------------------------------------------------------------------------
> _______________________________________________
> Qlandkartegt-users mailing list
> Qlandkartegt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
_______________________________________________
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to