@ Override public void stop ( Future < Void > stopFuture ) throws Exception { // Stop the real verticle if ( realVerticle != null ) { realVerticle . stop ( stopFuture ) ; realVerticle = null ; } }
Vert . x calls the stop method when the verticle is undeployed . Put any cleanup code for your verticle in here