mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
fix websocket memory leak
This commit is contained in:
parent
5f71e27422
commit
582bbd4ecd
5 changed files with 7 additions and 5 deletions
|
@ -255,6 +255,7 @@ function perform_request_async(url, params, body) {
|
|||
return;
|
||||
}
|
||||
let response_data = merge_arrays(chunks);
|
||||
chunks = null;
|
||||
let response_obj = create_response(response_data, response_info);
|
||||
resolve(response_obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue