mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
fix removeeventlistener and copyright dates
This commit is contained in:
parent
59de256621
commit
04aa226b2d
3 changed files with 3 additions and 3 deletions
|
@ -311,7 +311,7 @@ This project is licensed under the GNU AGPL v3.
|
||||||
### Copyright Notice:
|
### Copyright Notice:
|
||||||
```
|
```
|
||||||
ading2210/libcurl.js - A port of libcurl to WASM for use in the browser.
|
ading2210/libcurl.js - A port of libcurl to WASM for use in the browser.
|
||||||
Copyright (C) 2023 ading2210
|
Copyright (C) 2024 ading2210
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
ading2210/libcurl.js - A port of libcurl to WASM for the browser.
|
ading2210/libcurl.js - A port of libcurl to WASM for the browser.
|
||||||
Copyright (C) 2023 ading2210
|
Copyright (C) 2024 ading2210
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Affero General Public License as published by
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
|
|
|
@ -123,7 +123,7 @@ class CurlSession {
|
||||||
}
|
}
|
||||||
_session_cleanup(this.session_ptr);
|
_session_cleanup(this.session_ptr);
|
||||||
this.session_ptr = null;
|
this.session_ptr = null;
|
||||||
ws_events.removeEventListener(this.ws_event_listener);
|
ws_events.removeEventListener("message", this.ws_event_listener);
|
||||||
Module.removeFunction(this.end_callback_ptr);
|
Module.removeFunction(this.end_callback_ptr);
|
||||||
Module.removeFunction(this.headers_callback_ptr);
|
Module.removeFunction(this.headers_callback_ptr);
|
||||||
Module.removeFunction(this.data_callback_ptr);
|
Module.removeFunction(this.data_callback_ptr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue