ng-mocks
ng-mocks copied to clipboard
Bug: MockMiddleware{Index}
Description of the bug
I have thousands of MockMiddleware{Index}
not being cleaned up.
An example of the bug
~~Unfortunately I don't have a sample atm~~
https://github.com/cheng93/ng-mocks-reset
Expected vs actual behavior
MockMiddleware{Index} to be destroyed if not in cacheDeclaration
Misc
I am on the latest 14.12.1
I haven't been able to update ng-mocks since 14.9.0
.
Upgrading to 14.10.0 and later gives me this issue.
I get the following CI, but it's fine locally.
Instincts to points to memory leak.
This and the other bug reported today, I believe, are the causes.