From 518b696b27a8acb8e00669802f31a9e632dd6e7a Mon Sep 17 00:00:00 2001 From: chrisparker126 Date: Sun, 6 Apr 2008 20:56:27 +0000 Subject: [PATCH] implemented global shut down function, yet to implement calls to upnp held resources git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@481 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/rsserver/p3face.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libretroshare/src/rsserver/p3face.h b/libretroshare/src/rsserver/p3face.h index 1604e73e6..984fb0b53 100644 --- a/libretroshare/src/rsserver/p3face.h +++ b/libretroshare/src/rsserver/p3face.h @@ -253,6 +253,13 @@ virtual int ConfigSetBootPrompt( bool on ); virtual void ConfigFinalSave( ); +/************* Rs shut down function: in upnp 'port lease time' bug *****************/ + +/** + * This function is responsible for ensuring Retroshare exits in a legal state: + * i.e. releases all held resources and saves current configuration + */ +virtual void rsGlobalShutDown( ); private: int UpdateAllConfig();