Skip to content

Commit

Permalink
Fix build issue with HIBERNATESUPPORT=ON
Browse files Browse the repository at this point in the history
Remove extra bracket
  • Loading branch information
adrianM27 committed Mar 5, 2024
1 parent 0a928d0 commit 0dda762
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/WPEFramework/PluginServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,8 @@ namespace PluginHost {
Unlock();

if (result == HIBERNATE_ERROR_NONE) {
{
result = HibernateChildren(parentPID, timeout);
if(result != Core::ERROR_NONE && result != Core::ERROR_ABORTED)
{
if(result != Core::ERROR_NONE && result != Core::ERROR_ABORTED) {
//wakeup Parent process to revert Hibernation
TRACE(Activity, (_T("Wakeup plugin [%s] process [%u] on Hibernate error [%d]"), Callsign().c_str(), parentPID, result));
WakeupProcess(timeout, parentPID, _administrator.Configuration().HibernateLocator().c_str(), _T(""), &_hibernateStorage);
Expand Down

0 comments on commit 0dda762

Please sign in to comment.