mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing restart
This commit is contained in:
parent
c7af86b4c1
commit
ef76b571c8
@ -192,12 +192,14 @@ void p3WebUI::setUserPassword(const std::string& passwd)
|
|||||||
bool p3WebUI::restart()
|
bool p3WebUI::restart()
|
||||||
{
|
{
|
||||||
rsJsonAPI->registerResourceProvider(this);
|
rsJsonAPI->registerResourceProvider(this);
|
||||||
|
rsJsonAPI->restart();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool p3WebUI::stop()
|
bool p3WebUI::stop()
|
||||||
{
|
{
|
||||||
rsJsonAPI->unregisterResourceProvider(this);
|
rsJsonAPI->unregisterResourceProvider(this);
|
||||||
|
rsJsonAPI->restart();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user