Hi,

I have 3 AbstractTwillRunnable runnables added to my Twill application
which is getting executed successfully. But I am failing to execute "stop"
method of AbstractTwillRunnable which I override.
I am expecting the stop to be invoked for below call:

Runtime.getRuntime().addShutdownHook(new Thread() {
      @Override
      public void run() {
        *controller.stopAndWait();*
      }
    });

"controller" is an instance of TwillController.

Also I tried twillRunner.stopAndWait(); where twillRunner is an instance of
TwillRunnerService. Is there anything I am missing to invoke "stop" method?

Thanks and regards,
Srini

Reply via email to