godotjs / godotjs/GodotJS

[Question] Can't receive `NOTIFICATION_PREDELETE` and `NOTIFICATION_PREDELETE_CLEANUP` in js script instance.

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
765
Forks
46
PR merge metrics
No merged PRs in 30d

Description

These two notifiacations is excepted at [jsb_script_instance.cpp:L148](https://github.com/godotjs/GodotJS/blob/d76dfcec92d2362a9942bb393960351cf25ed3f2/weaver/jsb_script_instance.cpp#L148).

I don't quite understand the reason stated in the comment.
This is part of godot object's life cycle, I think it should not be ignored directly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.