protected void onUnload ( ) { if ( registrations != null ) { for ( HandlerRegistration registration : registrations ) { registration . removeHandler ( ) ; } } loadedRegistration . removeHandler ( ) ; super . onUnload ( ) ; }
Remove all handlers on unload .