Skip to content

Commit

Permalink
Update virtualization_11.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Hex authored Nov 18, 2024
1 parent 160eb2e commit fa84988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualization_11.m
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ void startWithCompletionHandler(void *machine, void *queue, uintptr_t cgoHandle)
{
if (@available(macOS 11, *)) {
vm_completion_handler_t handler = makeVMCompletionHandler(cgoHandle);
dispatch_async((dispatch_queue_t)queue, ^{
dispatch_sync((dispatch_queue_t)queue, ^{
[(VZVirtualMachine *)machine startWithCompletionHandler:handler];
});
Block_release(handler);
Expand Down

0 comments on commit fa84988

Please sign in to comment.