releaseHostCaches method
Free Dart-side JS refs that must not outlive close; call before native free.
Cancels Web API timers and host work installed by init.
Implementation
@protected
void releaseHostCaches() {
final host = _webApiHost;
_webApiHost = null;
host?.dispose();
}