History

mv ShutdownEventListener into class which is a child of QCoreApplication

Seth Alves committed 11 years ago

Commit 0918d491 parent 9f83eab2 files · +8 −8Browse files

Showing the changes to assignment-client/src/AssignmentClientMonitor.cpp (1 of 2 files). Show all

Unified · Split

assignment-client/src/AssignmentClientMonitor.cpp+0−8
@@ -12,7 +12,6 @@ · 11 unmodified lines
1212 #include <signal.h>
1313
1414 #include <LogHandler.h>
15−#include <ShutdownEventListener.h>
1615 #include <AddressManager.h>
1716
1817 #include "AssignmentClientMonitor.h"
@@ -40,13 +39,6 @@ AssignmentClientMonitor::AssignmentClientMonitor(const unsigned int numAssignmen · 21 unmodified lines
4039 {
4140 // start the Logging class with the parent's target name
4241 LogHandler::getInstance().setTargetName(ASSIGNMENT_CLIENT_MONITOR_TARGET_NAME);
43−
44− // setup a shutdown event listener to handle SIGTERM or WM_CLOSE for us
45−#ifdef _WIN32
46− installNativeEventFilter(&ShutdownEventListener::getInstance());
47−#else
48− ShutdownEventListener::getInstance();
49−#endif
5042
5143 // create a NodeList so we can receive stats from children
5244 DependencyManager::registerInheritance<LimitedNodeList, NodeList>();

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