Commit 39292f57 authored by David COME's avatar David COME
Browse files

Restaured ZMQPollEventHandler's virtual destructor and commented out the...

Restaured ZMQPollEventHandler's virtual destructor and commented out the cleaning of the reactor in the fork process (which is dead code once the forker will be used for these sessions)
parent 2d13d098
......@@ -58,8 +58,8 @@ public:
* Test: TEST_F(castor_tape_reactor_ZMQReactorTest, closeFd)
* Valrgind command-line: valgrind --track-fds=yes test/castorUnitTests
*/
~ZMQPollEventHandler() throw();
//virtual ~ZMQPollEventHandler() throw() = 0;
//~ZMQPollEventHandler() throw();
virtual ~ZMQPollEventHandler() throw() = 0;
/**
* Returns the human-readable name this event handler.
......
......@@ -1304,7 +1304,7 @@ void castor::tape::tapeserver::daemon::TapeDaemon::forkLabelSession(
} else {
// Clear the reactor which in turn will close all of the open
// file-descriptors owned by the event handlers
m_reactor.clear();
//m_reactor.clear();
runLabelSession(drive, labelCmdConnection.release());
}
......@@ -1394,7 +1394,7 @@ void castor::tape::tapeserver::daemon::TapeDaemon::forkCleanerSession(
} else { // Else this is the child process
// Clear the reactor which in turn will close all of the open
// file-descriptors owned by the event handlers
m_reactor.clear();
//m_reactor.clear();
runCleanerSession(drive, vid);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment