1.Add procedure check exception 12 (overflow stack) 2.Add info in reference of function 68,24 (rus) 3.Change max limit size of the load file to 1G, for load big WinApp files. 4.Fix procedure close tcp socket:
When WinApp create/close socket in loop => crash core Kolibri git-svn-id: svn://kolibrios.org@9976 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -757,22 +757,17 @@ socket_close:
|
||||
jne .free
|
||||
|
||||
cmp [eax + SOCKET.Protocol], IP_PROTO_TCP
|
||||
je .tcp
|
||||
|
||||
jne .free
|
||||
test [eax + SOCKET.state], SS_ISCONNECTED
|
||||
jz .free
|
||||
test [eax + SOCKET.state], SS_ISDISCONNECTING
|
||||
jnz .free
|
||||
call tcp_disconnect
|
||||
test eax, eax
|
||||
jz .end
|
||||
.free:
|
||||
call socket_free
|
||||
ret
|
||||
|
||||
.tcp:
|
||||
test [eax + SOCKET.state], SS_ISCONNECTED
|
||||
jz @f
|
||||
test [eax + SOCKET.state], SS_ISDISCONNECTING
|
||||
jnz @f
|
||||
call tcp_disconnect
|
||||
@@:
|
||||
; TODO:
|
||||
; ...
|
||||
; call socket_free
|
||||
.end:
|
||||
ret
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user