mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
web: Fix code-style
Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com> Signed-off-by: Philipp Jungkamp <56401138+PJungkamp@users.noreply.github.com>
This commit is contained in:
parent
82272fc7e6
commit
391bff5993
1 changed files with 3 additions and 2 deletions
|
@ -185,8 +185,9 @@ Web::Web(Api *a) :
|
|||
lws_set_log_level(lwsLogLevel(logging.getLevel()), lwsLogger);
|
||||
}
|
||||
|
||||
Web::~Web() {
|
||||
if(state == State::STARTED)
|
||||
Web::~Web()
|
||||
{
|
||||
if (state == State::STARTED)
|
||||
stop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue