Fix detach assertion error caused by loading messing being removed
Fix detach assertion error caused by loading messing being removed

Apparently when we delete a RootPanel's DOM element from the host
page we also must call detachNow() to remove it from the cleanup
list within GWT, otherwise the onUnload handler for the page has
an assertion error in hosted mode.

Signed-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>

Distrotech/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,Saulis/gerrit,1yvT0s/gerrit,duboisf/gerrit,gerrit-review/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit-attic,hdost/gerrit,skurfuerst/gerrit,dwhipstock/gerrit,midnightradio/gerrit,bpollack/gerrit,qtproject/qtqa-gerrit,basilgor/gerrit,makholm/gerrit-ceremony,ckamm/gerrit,WANdisco/gerrit,Seinlin/gerrit,joshuawilson/merrit,jeblair/gerrit,MerritCR/merrit,gracefullife/gerrit,jackminicloud/test,qtproject/qtqa-gerrit,teamblueridge/gerrit,MerritCR/merrit,ashang/aaron-gerrit,teamblueridge/gerrit,sudosurootdev/gerrit,duboisf/gerrit,m1kah/gerrit-contributions,duboisf/gerrit,1yvT0s/gerrit,gracefullife/gerrit,zommarin/gerrit,TonyChai24/test,gcoders/gerrit,jackminicloud/test,TonyChai24/test,Distrotech/gerrit,anminhsu/gerrit,jackminicloud/test,catrope/gerrit,zommarin/gerrit,supriyantomaftuh/gerrit,catrope/gerrit,joshuawilson/merrit,m1kah/gerrit-contributions,sudosurootdev/gerrit,skurfuerst/gerrit,thesamet/gerrit,Saulis/gerrit,skurfuerst/gerrit,rtyley/mini-git-server,duboisf/gerrit,dwhipstock/gerrit,netroby/gerrit,hdost/gerrit,anminhsu/gerrit,anminhsu/gerrit,supriyantomaftuh/gerrit,evanchueng/gerrit,atdt/gerrit,dwhipstock/gerrit,joshuawilson/merrit,gcoders/gerrit,sudosurootdev/gerrit,keerath/gerrit_newssh,thesamet/gerrit,Team-OctOS/host_gerrit,gerrit-review/gerrit,midnightradio/gerrit,thesamet/gerrit,ashang/aaron-gerrit,ckamm/gerrit,basilgor/gerrit,m1kah/gerrit-contributions,bootstraponline-archive/gerrit-mirror,bootstraponline-archive/gerrit-mirror,qtproject/qtqa-gerrit,netroby/gerrit,keerath/gerrit_newssh,hdost/gerrit,anminhsu/gerrit,jackminicloud/test,Seinlin/gerrit,renchaorevee/gerrit,TonyChai24/test,Overruler/gerrit,thesamet/gerrit,netroby/gerrit,Distrotech/gerrit,bpollack/gerrit,1yvT0s/gerrit,CandyShop/gerrit,Seinlin/gerrit,pkdevbox/gerrit,bootstraponline-archive/gerrit-mirror,anminhsu/gerrit,renchaorevee/gerrit,MerritCR/merrit,MerritCR/merrit,thesamet/gerrit,evanchueng/gerrit,bootstraponline-archive/gerrit-mirror,teamblueridge/gerrit,gcoders/gerrit,WANdisco/gerrit,Distrotech/gerrit,skurfuerst/gerrit,netroby/gerrit,midnightradio/gerrit,joshuawilson/merrit,gcoders/gerrit,hdost/gerrit,teamblueridge/gerrit,jackminicloud/test,GerritCodeReview/gerrit-attic,netroby/gerrit,austinchic/Gerrit,gcoders/gerrit,renchaorevee/gerrit,Seinlin/gerrit,quyixia/gerrit,ashang/aaron-gerrit,Saulis/gerrit,basilgor/gerrit,teamblueridge/gerrit,thinkernel/gerrit,atdt/gerrit,renchaorevee/gerrit,MerritCR/merrit,gracefullife/gerrit,makholm/gerrit-ceremony,ckamm/gerrit,cjh1/gerrit,Overruler/gerrit,makholm/gerrit-ceremony,Team-OctOS/host_gerrit,thesamet/gerrit,jeblair/gerrit,joshuawilson/merrit,midnightradio/gerrit,jackminicloud/test,MerritCR/merrit,keerath/gerrit_newssh,catrope/gerrit,quyixia/gerrit,sudosurootdev/gerrit,renchaorevee/gerrit,austinchic/Gerrit,atdt/gerrit,Team-OctOS/host_gerrit,quyixia/gerrit,austinchic/Gerrit,joshuawilson/merrit,evanchueng/gerrit,pkdevbox/gerrit,jeblair/gerrit,pkdevbox/gerrit,renchaorevee/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,1yvT0s/gerrit,cjh1/gerrit,CandyShop/gerrit,anminhsu/gerrit,evanchueng/gerrit,Team-OctOS/host_gerrit,gerrit-review/gerrit,makholm/gerrit-ceremony,GerritCodeReview/gerrit,quyixia/gerrit,basilgor/gerrit,WANdisco/gerrit,Team-OctOS/host_gerrit,dwhipstock/gerrit,Distrotech/gerrit,quyixia/gerrit,Seinlin/gerrit,atdt/gerrit,WANdisco/gerrit,joshuawilson/merrit,hdost/gerrit,qtproject/qtqa-gerrit,gerrit-review/gerrit,TonyChai24/test,zommarin/gerrit,thinkernel/gerrit,supriyantomaftuh/gerrit,joshuawilson/merrit,thinkernel/gerrit,ashang/aaron-gerrit,cjh1/gerrit,bootstraponline-archive/gerrit-mirror,austinchic/Gerrit,qtproject/qtqa-gerrit,gcoders/gerrit,GerritCodeReview/gerrit-attic,quyixia/gerrit,MerritCR/merrit,zommarin/gerrit,m1kah/gerrit-contributions,midnightradio/gerrit,bpollack/gerrit,catrope/gerrit,Seinlin/gerrit,GerritCodeReview/gerrit,TonyChai24/test,rtyley/mini-git-server,ashang/aaron-gerrit,Seinlin/gerrit,1yvT0s/gerrit,WANdisco/gerrit,anminhsu/gerrit,CandyShop/gerrit,pkdevbox/gerrit,WANdisco/gerrit,supriyantomaftuh/gerrit,bootstraponline-archive/gerrit-mirror,Overruler/gerrit,cjh1/gerrit,Overruler/gerrit,zommarin/gerrit,bpollack/gerrit,keerath/gerrit_newssh,GerritCodeReview/gerrit,TonyChai24/test,gracefullife/gerrit,jackminicloud/test,ckamm/gerrit,Overruler/gerrit,thesamet/gerrit,basilgor/gerrit,Distrotech/gerrit,thinkernel/gerrit,sudosurootdev/gerrit,MerritCR/merrit,hdost/gerrit,hdost/gerrit,thinkernel/gerrit,gerrit-review/gerrit,atdt/gerrit,supriyantomaftuh/gerrit,renchaorevee/gerrit,thinkernel/gerrit,Team-OctOS/host_gerrit,supriyantomaftuh/gerrit,gcoders/gerrit,dwhipstock/gerrit,gerrit-review/gerrit,pkdevbox/gerrit,supriyantomaftuh/gerrit,pkdevbox/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,midnightradio/gerrit,quyixia/gerrit,dwhipstock/gerrit,ckamm/gerrit,bpollack/gerrit,Overruler/gerrit,Saulis/gerrit,Team-OctOS/host_gerrit,bpollack/gerrit,netroby/gerrit,CandyShop/gerrit,gracefullife/gerrit,evanchueng/gerrit,GerritCodeReview/gerrit,Saulis/gerrit,Saulis/gerrit,dwhipstock/gerrit,thinkernel/gerrit,netroby/gerrit,Distrotech/gerrit,keerath/gerrit_newssh,pkdevbox/gerrit,jeblair/gerrit,TonyChai24/test,CandyShop/gerrit