Skip to content

Commit

Permalink
JRUBY-4838: Don't block on channel stream finalization
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksieger committed Jun 2, 2010
1 parent 712cd8f commit 0277221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jruby/util/io/ChannelStream.java
Expand Up @@ -1139,7 +1139,7 @@ private void invalidateBuffer() throws IOException, BadDescriptorException {
* Ensure close (especially flush) when we're finished with. * Ensure close (especially flush) when we're finished with.
*/ */
@Override @Override
public synchronized void finalize() { public void finalize() {
if (closedExplicitly) return; if (closedExplicitly) return;


if (DEBUG) { if (DEBUG) {
Expand Down

0 comments on commit 0277221

Please sign in to comment.