I have this fairly simple program, which monitors the position via the location api.
Everything works, but every time the program has been minimized and are restored, it terminates !
This only happens when the program is started from the launcher, when it is started via the debugger or from command line there are no problems.
I have been unable to find any information about the exit in the log files.
Any ideas as to why the program exits, or how I can find the reason for the exit ?