mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge #15699: Remove no-op CClientUIInterface::[signal_name]_disconnect. Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly.
6dd469a3beDisconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. Remove no-op CClientUIInterface::[signal_name]_disconnect. (practicalswift) Pull request description: Resolves #15698. Changes: * Remove no-op `CClientUIInterface::[signal_name]_disconnect`. * Disconnect `BlockNotifyGenesisWait` and `RPCNotifyBlockChange` properly. ACKs for commit 6dd469: MarcoFalke: utACK6dd469a3beTree-SHA512: 0b50d658fa72261332bc57ddea379fd08f4bc1de392c10c628e20142d6fd244b606c39fd0665d6bc39324c1aa8c8814ac942b4659106279e33b90206aaf37411
This commit is contained in:
commit
4bd7187da8
3 changed files with 7 additions and 10 deletions
|
|
@ -28,10 +28,6 @@ struct UISignals {
|
|||
boost::signals2::connection CClientUIInterface::signal_name##_connect(std::function<signal_name##Sig> fn) \
|
||||
{ \
|
||||
return g_ui_signals.signal_name.connect(fn); \
|
||||
} \
|
||||
void CClientUIInterface::signal_name##_disconnect(std::function<signal_name##Sig> fn) \
|
||||
{ \
|
||||
return g_ui_signals.signal_name.disconnect(&fn); \
|
||||
}
|
||||
|
||||
ADD_SIGNALS_IMPL_WRAPPER(ThreadSafeMessageBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue