The run method of the TasksApplication should call stop, so that plugins are stopped properly as the application exits.
Note that the base Application class does call stop in its run method, and in downstream applications that use the TasksApplication we're overriding run, and also calling stop in that overridden method.
This is essentially a duplicate of #221, which has more information. We are calling stop in a typical TasksApplication lifecycle, but we're calling it before exiting the event loop.
The
run
method of theTasksApplication
should callstop
, so that plugins are stopped properly as the application exits.Note that the base
Application
class does callstop
in itsrun
method, and in downstream applications that use theTasksApplication
we're overridingrun
, and also callingstop
in that overridden method.