History

Don't leave running markers around if they weren't there before and we quit after reporting (protocol)version.

Howard Stearns committed 9 years ago

Commit fea8a951 parent ac1d4d91 file · +4 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -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 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t