1
0
Fork 0
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:
Philipp Jungkamp 2023-08-23 08:59:22 +02:00 committed by Steffen Vogel
parent 82272fc7e6
commit 391bff5993

View file

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