Change "deconstructor" to "destructor" in NOTIFICATION_PREDELETE docs

This commit is contained in:
Dungeon Master 2024-09-14 05:09:22 +08:00 committed by Rémi Verschelde
parent 0a4aedb360
commit d33f4820cd
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -1121,7 +1121,7 @@
Notification received when the object is initialized, before its script is attached. Used internally.
</constant>
<constant name="NOTIFICATION_PREDELETE" value="1">
Notification received when the object is about to be deleted. Can act as the deconstructor of some programming languages.
Notification received when the object is about to be deleted. Can be used like destructors in object-oriented programming languages.
</constant>
<constant name="NOTIFICATION_EXTENSION_RELOADED" value="2">
Notification received when the object finishes hot reloading. This notification is only sent for extensions classes and derived.