]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOPMrootDomain.cpp
xnu-3789.41.3.tar.gz
[apple/xnu.git] / iokit / Kernel / IOPMrootDomain.cpp
index e967cb33f2e74e54616b1e7e41ab131572ff0ca8..f2015f3868faf2a60cfed296ca262be3a16b004c 100644 (file)
@@ -5021,6 +5021,9 @@ void IOPMrootDomain::handleOurPowerChangeStart(
             _systemMessageClientMask &= ~kSystemMessageClientLegacyApp;
         if ((_highestCapability & kIOPMSystemCapabilityGraphics) == 0)
             _systemMessageClientMask &= ~kSystemMessageClientKernel;
+#if HIBERNATION
+        gIOHibernateState = 0;
+#endif
 
         // Record the reason for dark wake back to sleep
         // System may not have ever achieved full wake