Dominic Riordan
Dominic Riordan
Yeah I agree the APIs should be cleaned up upon reload... but from what I can see there is no longer a reference to the old APIs once `gw.apisHandlesByID` and...
Created a PR https://github.com/TykTechnologies/tyk/pull/4215
I've added to PR to remove the API defintion from context once go plugin has finished with request so GC can pick it up upon reload, and to also kill...
I don't think this is an issue for the coder to clean up resources.. as there's no more reference to the previous APIs after the reload. Immediately after the reload...
I've stopped it here where it's releasing other resources https://github.com/TykTechnologies/tyk/pull/4215/files#diff-0cf80174bbafb36f6d4f4308ebbd971b2833b76a936bad568220aa1a4ba0ee8bR220-R226 that the right place to do it?
Sounds good to me
Hi @buger have you had a chance to look at the PR yet?