ParadiseSS13/Paradise

/obj/docking_port/mobile keeps a hard reference of the last_caller

开放

#19,295 创建于 2022年10月5日

 (0 条评论) (0 个反应) (0 位负责人)DM (1,313 个派生)batch import
GC RelatedGood First Issue

仓库指标

星标
 (445 个星标)
PR 合并指标
 (平均合并 13天 5小时) (30 天内合并 90 个 PR)

描述

Issue Description: The mobile docking ports keep a hard reference to the last caller. /datum/controller/subsystem/shuttle/proc/moveShuttle is the proc which sets it.

[2022-10-05T20:51:06] Found /mob/dead/observer [0x300003b] in /obj/docking_port/mobile's [0x200057f] last_caller var. World -> /obj/docking_port/mobile

Steps to reproduce the problem:

  1. Spawn as a ghost or aghost.
  2. Use any shuttle console and call/send the shuttle
  3. Become a mob or something else to delete the ghost

When did the problem start happening: For a while. I have introduced it 2 years ago in #13208 :(

Extra information: It should use a UID here instead. This should be a relatively easy first GC issue.

贡献者指南