mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
video monitor: no need to test sigc::connection for connected() before disconnecting
This commit is contained in:
parent
ec04ab3865
commit
c58a2a5749
1 changed files with 3 additions and 6 deletions
|
|
@ -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();
|
||||||
}
|
|
||||||
if (state_connection.connected()) {
|
|
||||||
state_connection.disconnect();
|
state_connection.disconnect();
|
||||||
}
|
|
||||||
delete process;
|
delete process;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue