Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -453,6 +453,10 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) { · 452 unmodified lines | |||
| 453 | if (fp) { | 453 | if (fp) { |
| 454 | report(fp); | 454 | report(fp); |
| 455 | fclose(fp); | 455 | fclose(fp); |
| 456 | if (!runningMarkerExisted) { // don't leave ours around | ||
| 457 | RunningMarker runingMarker(RUNNING_MARKER_FILENAME); | ||
| 458 | runingMarker.deleteRunningMarkerFile(); // happens in deleter, but making the side-effect explicit. | ||
| 459 | } | ||
| 456 | _exit(0); | 460 | _exit(0); |
| 457 | } | 461 | } |
| 458 | } | 462 | } |