Skip to content

Commit 4eb59c3

Browse files
Suspend status fix (#4496)
Co-authored-by: Huzaifa Danish <[email protected]>
1 parent 9ca4c66 commit 4eb59c3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dev/PowerNotifications/PowerNotifications.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation and Contributors.
1+
// Copyright (c) Microsoft Corporation and Contributors.
22
// Licensed under the MIT License.
33

44
#pragma once
@@ -633,8 +633,6 @@ namespace winrt::Microsoft::Windows::System::Power
633633
m_systemSuspendStatus = SystemSuspendStatus::ManualResume;
634634
RaiseEvent(systemSuspendFunc);
635635
}
636-
// Resetting the value after the callback
637-
m_systemSuspendStatus = SystemSuspendStatus::Uninitialized;
638636
}
639637

640638
};

0 commit comments

Comments
 (0)