mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-03 08:07:17 -05:00
[smjs] enable finalizers
This commit is contained in:
parent
4f1bfed9b8
commit
1ee99c9aef
@ -42,7 +42,7 @@ static const JSClassOps session_ops = {
|
|||||||
nullptr, // newEnumerate
|
nullptr, // newEnumerate
|
||||||
nullptr, // resolve
|
nullptr, // resolve
|
||||||
nullptr, // mayResolve
|
nullptr, // mayResolve
|
||||||
nullptr, // finalize
|
session_finalize, // finalize
|
||||||
nullptr, // call
|
nullptr, // call
|
||||||
nullptr, // hasInstance
|
nullptr, // hasInstance
|
||||||
nullptr, // construct
|
nullptr, // construct
|
||||||
@ -65,7 +65,7 @@ static const JSClassOps location_array_ops = {
|
|||||||
nullptr, // newEnumerate
|
nullptr, // newEnumerate
|
||||||
nullptr, // resolve
|
nullptr, // resolve
|
||||||
nullptr, // mayResolve
|
nullptr, // mayResolve
|
||||||
nullptr, // finalize
|
smjs_location_array_finalize, // finalize
|
||||||
nullptr, // call
|
nullptr, // call
|
||||||
nullptr, // hasInstance
|
nullptr, // hasInstance
|
||||||
nullptr, // construct
|
nullptr, // construct
|
||||||
|
Loading…
Reference in New Issue
Block a user