@@ -2069,6 +2069,11 @@ public void destroy() {
20692069 }
20702070
20712071 private void destroyImpl () {
2072+ int drawGLFunction = nativeGetDrawGLFunction (mNativeClass );
2073+ ViewRootImpl viewRoot = mWebView .getViewRootImpl ();
2074+ Log .d (LOGTAG , String .format ("destroyImpl, functor %x, viewroot == null %b, isHWAccel %b" ,
2075+ drawGLFunction , (viewRoot == null ),
2076+ mWebView .isHardwareAccelerated ()));
20722077 mCallbackProxy .blockMessages ();
20732078 clearHelpers ();
20742079 if (mListBoxDialog != null ) {
@@ -5296,9 +5301,12 @@ public void onDetachedFromWindow() {
52965301
52975302 updateHwAccelerated ();
52985303
5304+ int drawGLFunction = nativeGetDrawGLFunction (mNativeClass );
5305+ ViewRootImpl viewRoot = mWebView .getViewRootImpl ();
5306+ Log .d (LOGTAG , String .format ("destroyImpl, functor %x, viewroot == null %b, isHWAccel %b" ,
5307+ drawGLFunction , (viewRoot == null ),
5308+ mWebView .isHardwareAccelerated ()));
52995309 if (mWebView .isHardwareAccelerated ()) {
5300- int drawGLFunction = nativeGetDrawGLFunction (mNativeClass );
5301- ViewRootImpl viewRoot = mWebView .getViewRootImpl ();
53025310 if (drawGLFunction != 0 && viewRoot != null ) {
53035311 viewRoot .detachFunctor (drawGLFunction );
53045312 }
0 commit comments