fix: wrap windows direct memory allocation inside a loop
@@ -229,7 +229,7 @@ where
let mut rng = thread_rng();
let handle = windows::Win32::Foundation::INVALID_HANDLE_VALUE;
-
+ loop {
unsafe {
// allocation prelude
{
@@ -306,6 +306,7 @@ where
}
}
}
+}
// -----------------------------------------------------------------------------
