added missing restart

This commit is contained in:
csoler 2019-11-24 11:04:26 +01:00
parent c7af86b4c1
commit ef76b571c8
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -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;
} }