Skip to content

Commit 984ae1c

Browse files
committed
Use OS stop method
1 parent 75172c5 commit 984ae1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qiling/loader/pe_uefi.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ def __module_exit_trap(ql: Qiling):
387387
return
388388

389389
ql.log.info(f'No more modules to run')
390-
ql.emu_stop()
391-
ql.os.PE_RUN = False
390+
ql.os.stop()
392391

393392
self.ql.hook_address(__module_exit_trap, address)

0 commit comments

Comments
 (0)