mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +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 ()
|
||||
{
|
||||
if (clock_connection.connected()) {
|
||||
clock_connection.disconnect();
|
||||
}
|
||||
if (state_connection.connected()) {
|
||||
state_connection.disconnect();
|
||||
}
|
||||
|
||||
delete process;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue