Skip to content

Fix for hot reload crash - #2060

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
agoaj:master
Oct 9, 2026
Merged

dsnopek merged 1 commit into
godotengine:masterfrom
agoaj:master

Conversation

@agoaj

@agoaj agoaj commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Broke up memnew_placement macro to avoid creating a Ref that will immediately be destroyed.
Fix for #2059

@agoaj
agoaj requested a review from a team as a code owner October 4, 2026 06:14
Comment thread include/godot_cpp/core/class_db.hpp Outdated
@Ivorforce

Copy link
Copy Markdown
Member

@Ivorforce Ivorforce added bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation labels Oct 7, 2026
Broke up memnew_placement macro to avoid creating a Ref<T> that will immediately be destroyed.
@agoaj

agoaj commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

This also needs a squash before it can be merged. See https://contributing.godotengine.org/en/latest/development/workflows/creating_pull_requests.html#the-interactive-rebase

Made your suggested change and squashed the commits. Thanks for the docs on how to do that.

@dsnopek dsnopek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks good to me too :-)

@dsnopek dsnopek added this to the 10.x milestone Oct 9, 2026
@dsnopek
dsnopek merged commit 694a264 into godotengine:master Oct 9, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug This has been identified as a bug topic:gdextension This relates to the new Godot 4 extension implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants