Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Softdels part 1 (Datum softdels) #1776

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

moonheart08
Copy link
Contributor

Implements softdel support for /datum, changing internal refs to be weak as to avoid pinning the objects forever.

@boring-cyborg boring-cyborg bot added Compiler Involves the OpenDream compiler Runtime Involves the OpenDream server/runtime labels May 11, 2024
OpenDreamRuntime/Objects/Types/DreamObjectMovable.cs Outdated Show resolved Hide resolved
OpenDreamRuntime/Objects/Types/DreamObjectSavefile.cs Outdated Show resolved Hide resolved
Comment on lines +134 to +135
if (Deleted)
return;
Copy link
Member

Choose a reason for hiding this comment

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

DreamObject.Delete() should already be checking this before calling HandleDeletion()

OpenDreamRuntime/DreamManager.cs Outdated Show resolved Hide resolved
OpenDreamRuntime/DreamManager.cs Outdated Show resolved Hide resolved
OpenDreamRuntime/Objects/DreamObject.cs Show resolved Hide resolved
OpenDreamRuntime/Objects/DreamObject.cs Outdated Show resolved Hide resolved
OpenDreamRuntime/Objects/DreamObject.cs Outdated Show resolved Hide resolved
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compiler Involves the OpenDream compiler Merge Conflict Runtime Involves the OpenDream server/runtime size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants