From 6ae9df6a23aea4ec928e485d263820390e09f3d1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 6 Feb 2019 09:38:17 +0100 Subject: [PATCH] - removed an old comment that no longer applied to the code in question. The interpolator had been changed long ago to use proper GC tracking, so interpolations only can get collected if they had been fully orphaned. This comment was the main reason why the design flaw in this code never got fixed until recently. --- src/r_data/r_interpolate.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/r_data/r_interpolate.cpp b/src/r_data/r_interpolate.cpp index 75169646f7..aec62630c3 100644 --- a/src/r_data/r_interpolate.cpp +++ b/src/r_data/r_interpolate.cpp @@ -172,20 +172,6 @@ IMPLEMENT_CLASS(DSectorScrollInterpolation, false, false) IMPLEMENT_CLASS(DWallScrollInterpolation, false, false) IMPLEMENT_CLASS(DPolyobjInterpolation, false, false) -//========================================================================== -// -// Important note: -// The linked list of interpolations and the pointers in the interpolated -// objects are not processed by the garbage collector. This is intentional! -// -// If an interpolation is no longer owned by any thinker it should -// be destroyed even if the interpolator still has a link to it. -// -// When such an interpolation is destroyed by the garbage collector it -// will automatically be unlinked from the list. -// -//========================================================================== - //========================================================================== // //