Please sign in to comment.
Changed the example project to use the synchronous dispatcher for now…
… because the async dispatcher was conflicting with the "using (store = WireupEventStore())" statement. Specifically, execution could and usually did exit the using block, causing the IStoreEvents object and all of its dependencies to be disposed, before the async dispatcher had a chance to mark the last commit as dispatched in the SQL database. This would cause unexpected output on the next execution of the example program as it first dispatched commits that hadn't been dispatched by the last execution, or sometimes it would simply crash with an ObjectDisposedException.
- Loading branch information...