13
0

video monitor: no need to test sigc::connection for connected() before disconnecting

This commit is contained in:
Paul Davis 2021-12-17 09:28:33 -07:00
parent ec04ab3865
commit c58a2a5749

View File

@ -59,12 +59,9 @@ VideoMonitor::VideoMonitor (PublicEditor *ed, std::string xjadeo_bin_path)
VideoMonitor::~VideoMonitor () VideoMonitor::~VideoMonitor ()
{ {
if (clock_connection.connected()) { clock_connection.disconnect();
clock_connection.disconnect(); state_connection.disconnect();
}
if (state_connection.connected()) {
state_connection.disconnect();
}
delete process; delete process;
} }