Skip to content

Commit

Permalink
- removed an old comment that no longer applied to the code in question.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
coelckers committed Feb 6, 2019
1 parent c25e789 commit 6ae9df6
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/r_data/r_interpolate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
//==========================================================================

//==========================================================================
//
//
Expand Down

0 comments on commit 6ae9df6

Please sign in to comment.