]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOHibernateIO.cpp
xnu-1228.12.14.tar.gz
[apple/xnu.git] / iokit / Kernel / IOHibernateIO.cpp
index ae66cb9b8a91f1deb1f1ca66c46fdd48ad61896d..9105cdbb9f362b67c627f0349fe9b335f810fc6a 100644 (file)
@@ -2145,6 +2145,9 @@ hibernate_write_image(void)
                uncompressedSize ? ((int) ((compressedSize * 100ULL) / uncompressedSize)) : 0,
                sum1, sum2);
 
+    if (vars->fileVars->io)
+        (void) IOHibernatePollerIODone(vars->fileVars, false);
+
     if (pollerOpen)
         IOHibernatePollerClose(vars->fileVars, kIOPolledBeforeSleepState);