View Single Post
  #1 (permalink)  
Old October 2nd, 2004
verdyp's Avatar
verdyp verdyp is offline
LimeWire is International
 
Join Date: January 13th, 2002
Location: Nantes, FR; Rennes, FR
Posts: 306
verdyp is flying high
Default [BUG] Files kept open in the LW player after playing them

When a file has stopped being played (or previewed during downloads) in the integrated LW player, it is left open.

This prevents the file of being renamed or annotated or deleted, even from LimeWire. The integrated player apparently maintains a shared read lock on that file without closing it.

The file will apparently be closed only after garbage collection occurs (may require many minutes before the unreferenced File object gets finalized after garbage collection, and thus closed effectively), or until the Java VM is shutdown.

When the player stops, it should close that File instance explicitly.

Last edited by verdyp; October 2nd, 2004 at 05:56 PM.