Share

OggCarton

Tracker: Patches

5 Fix for file descriptor leak - ID: 851521
Last Update: Attachment added ( amcguinn )

As I reported, the CD ripping process leaks file
descriptors, eventually leading to a crash after
ripping a few hundred tracks.

The patch fixes this by closing all streams once a
java.lang.Process is finished with.

There are also one or two small simplifications mixed
in here. If necessary, I can separate them from the
fix, but they make the code a bit clearer/safer:

# $Id$ comments in one or two files -- help with CVS.
# ActivePlayLists changed from Vector to HashMap
# irrelevant "songSearch" member removed from
ActivePlayLists
# if(size()>0) removed from a Vector iteration in
OggCartonServer
# Use different Process variable for each external
invocation in Ripper.class


Andrew ( amcguinn ) - 2003-11-30 11:48

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
am002.diff patch Download

Change ( 1 )

Field Old Value Date By
File Added 69104: am002.diff 2003-11-30 11:48 amcguinn