Skip to content

Commit 8a88fef

Browse files
committed
Fix typo.
1 parent 3d97873 commit 8a88fef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

KernelLuaVm/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ namespace lua
5757
}
5858
static void end_ctx()
5959
{
60-
if ( attached_process )
61-
KeUnstackDetachProcess( &apc_state );
6260
__writecr8( 0 );
6361
_enable();
62+
if ( attached_process )
63+
KeUnstackDetachProcess( &apc_state );
6464
}
6565

6666
bool detach()

0 commit comments

Comments
 (0)