Skip to content

Commit

Permalink
ConnectionTicket: add disconnect() function
Browse files Browse the repository at this point in the history
- Simply aliases to the underlying sigc::connection for early cleanup
  • Loading branch information
sturnclaw committed Dec 7, 2024
1 parent bd10e80 commit 3dc9d46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ConnectionTicket.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,9 @@ struct ConnectionTicket {
m_connection = c;
}

void disconnect() {
m_connection.disconnect();
}

sigc::connection m_connection;
};

0 comments on commit 3dc9d46

Please sign in to comment.