forked from KolibriOS/kolibrios
Fixed bug in dispose_app_cr3_table: we count yourself as thread now
so code must be slightly changed. git-svn-id: svn://kolibrios.org@25 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
87d89cab90
commit
81314d998d
@ -251,8 +251,8 @@ dispose_app_cr3_table:
|
|||||||
|
|
||||||
;edx = number of threads
|
;edx = number of threads
|
||||||
;our process is zombi so it isn't counted
|
;our process is zombi so it isn't counted
|
||||||
test edx,edx
|
cmp edx,1
|
||||||
jnz .threadsexists
|
jg .threadsexists
|
||||||
;if there isn't threads then clear memory.
|
;if there isn't threads then clear memory.
|
||||||
add edi,std_application_base_address shr 20
|
add edi,std_application_base_address shr 20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user