mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-09 19:05:52 +00:00
f403b06de6
* AsyncEventQueue (AsyncEventBus replacement) initial commit. * Add closeWait() and remove assertion test. * Fix "possible" memory leak. * Add limits to AsyncEventQueue[T]. Add tests for AsyncEventQueue[T] limits. Rebase AsyncSync errors to be children of AsyncError. * Adopt AsyncEventQueue to garbage collect events on emit() too. Add test from review comment. * Remove AsyncEventBus test suite. * Remove unneeded [T] usage. * Optimize memory usage in 1m test. * Lower number of events in test from 1m to 100k. * Deprecate AsyncEventBus. Add some GC debugging for tests. * Fix mistype. * One more attempt to fix crash. * Add some echo debugging. * More echo debugging. * More closer debug echoes. * Attempt to workaround crash place. * More debugging echoes in exception handlers. * Convert suspected test into async procedure. * Make multiple consumers test async. * Remove GC debugging. * Disable added tests. * Disable AsyncEventQueue tests to confirm that this is an issue. * Enable all the tests.