mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Extend JSON API to shutdown retroshare gracefully
This commit is contained in:
parent
0ff80baed3
commit
d511b6648e
5 changed files with 74 additions and 17 deletions
|
@ -1969,6 +1969,11 @@ bool RsLoginHelper::createLocation(
|
|||
return ret;
|
||||
}
|
||||
|
||||
void RsLoginHelper::closeSession()
|
||||
{
|
||||
RsControl::instance()->rsGlobalShutDown();
|
||||
}
|
||||
|
||||
void RsLoginHelper::Location::serial_process(
|
||||
RsGenericSerializer::SerializeJob j,
|
||||
RsGenericSerializer::SerializeContext& ctx )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue