releaseHostCaches method
Free Dart-side JS refs that must not outlive close; call before native free.
Implementation
@protected
void releaseHostCaches() {
_setTimeoutGeneration++;
for (final timer in _setTimeoutTimers) {
timer.cancel();
}
_setTimeoutTimers.clear();
_releaseSetTimeoutRunner();
}