Calls notify() if it hasn't been called yet.
| 70 | public: |
| 71 | /// Calls notify() if it hasn't been called yet. |
| 72 | ~EventCompletionNotifier() { |
| 73 | notify(); |
| 74 | } |
| 75 | |
| 76 | // Activates the notifier and provides a callback to invoke and promises to |
| 77 | // satisfy on destruction or a call to 'notify'. |