On Fri, 27 Apr 2018 12:13:56 +0900,
knet solutions wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; UTF-8 (7bit)>]
> Hi,
> 
> I  need to handle the RYU application exit signal (could be CTRL+C) /event
> in the program?
> I need to some clean up (on third party application such as DB, Zookeeper,
> etc) when RYU crashes or RYU Closed(CTRL+C) purposefully.
> 
> Any suggestions?

I guess a usual way to do this is properly catching exceptions and
installing signal handlers (using signal.signal for example).

--
IWAMOTO Toshihiro

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to