#34 Cancel the timer thread once the termination command has been sent

Closed
opened 3 years ago by farooqkz · 0 comments

Update 01 Nov:

I have a solution to stop the timer once termination signal has been sent(by defining a global timer instance and also defining related variable(s) globally) but I am looking for a cleaner solution, a solution in which some feature of cherrypy is used. I have found a way to trigger some function when the bus stops through plugins but it seems that there is no way to access the created App object(e.g. farcloud) from inside a plugin.

**Update 01 Nov:** I have a solution to stop the timer once termination signal has been sent(by defining a global timer instance and also defining related variable(s) globally) but I am looking for a cleaner solution, a solution in which some feature of cherrypy is used. I have found a way to trigger some function when the bus stops through plugins but it seems that there is no way to access the created App object(e.g. `farcloud`) from inside a plugin.
Farooq Karimi Zadeh referenced this issue from a commit 3 years ago
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.