video monitor: no need to test sigc::connection for connected() before disconnecting
This commit is contained in:
parent
ec04ab3865
commit
c58a2a5749
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user