-
Daniel Vrátil authored
The flush is asynchronous so just calling dispatchNotifications() and terminating the event loop is not good enough, we need to call it before the event loop is terminated and we must wait for the notifications to be delivered otherwise we just can't be sure that they also reached the test code.