iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

Pipe: release resources of pipe event that have been GCed but the reference count is not zero by PhantomReference

Open VGalaxies opened this issue 5 months ago • 0 comments

Considering that when the event is garbage collected, the file resources it holds will not automatically end their lifecycle, we adopt a reference counting maintenance + safety net fallback method (releasing resources later is better than never releasing them).

VGalaxies avatar Aug 31 '24 03:08 VGalaxies