public void close ( ) { if ( nativeProxy != 0 ) { new Task < Void > ( ) { public Void call ( ) { Native . unadvise ( nativeProxy ) ; return null ; } } . execute ( ) ; nativeProxy = 0 ; } }
Terminates the event subscription .