mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
added missing restart
This commit is contained in:
parent
c7af86b4c1
commit
ef76b571c8
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue