Showing the changes to assignment-client/src/AssignmentClientMonitor.cpp (1 of 2 files). Show all
Unified · Split
| @@ -12,7 +12,6 @@ · 11 unmodified lines | ||
| 12 | 12 | #include <signal.h> |
| 13 | 13 | |
| 14 | 14 | #include <LogHandler.h> |
| 15 | −#include <ShutdownEventListener.h> | |
| 16 | 15 | #include <AddressManager.h> |
| 17 | 16 | |
| 18 | 17 | #include "AssignmentClientMonitor.h" |
| @@ -40,13 +39,6 @@ AssignmentClientMonitor::AssignmentClientMonitor(const unsigned int numAssignmen · 21 unmodified lines | ||
| 40 | 39 | { |
| 41 | 40 | // start the Logging class with the parent's target name |
| 42 | 41 | 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 | |
| 50 | 42 | |
| 51 | 43 | // create a NodeList so we can receive stats from children |
| 52 | 44 | DependencyManager::registerInheritance<LimitedNodeList, NodeList>(); |