Page MenuHomeFeedback Tracker

RestCallbacks are leaking Memory (1.27 Experimental)
Awaiting internal Testing, NormalPublic

Description

When trying my mods on the new experimental build, I noticed, that all my RestCallback classes I have appear in the Leaks printed when the game exists. This seems to be an issue with the vanilla RestCallback and RestContext classes not releasing the callbacks after the response was received. I never keep any refs of the callbacks.
ctx.POST(new LB_WebhookCallback(type, message, description), "", message);
class LB_WebhookCallback : RestCallback {}
causing SCRIPT (E): Leaked 'WebHookCallBack' script instance (1x)!

Details

Severity
Crash
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

LBmaster created this task.Wed, Jan 29, 1:04 AM
Geez changed the task status from New to Awaiting internal Testing.Wed, Jan 29, 11:02 AM