| 110 | } |
| 111 | |
| 112 | void ValidationSignals::RegisterSharedValidationInterface(std::shared_ptr<CValidationInterface> callbacks) |
| 113 | { |
| 114 | // Each connection captures the shared_ptr to ensure that each callback is |
| 115 | // executed before the subscriber is destroyed. For more details see #18338. |
| 116 | m_internals->Register(std::move(callbacks)); |
| 117 | } |
| 118 | |
| 119 | void ValidationSignals::RegisterValidationInterface(CValidationInterface* callbacks) |
| 120 | { |