[Red5commits] [2392] unsubscribe the message in to avoid file lock after VOD streaming.
sgong
luke at codegent.com
Sat Oct 13 23:00:07 PDT 2007
unsubscribe the message in to avoid file lock after VOD streaming.
Timestamp: 10/14/07 00:51:49 EST (less than one hour ago)
Change: 2392
Author: sgong
Files (see diff or trac for details):
java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java
Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/2392
Index: /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java
===================================================================
--- /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 2348)
+++ /java/server/trunk/src/org/red5/server/stream/PlaylistSubscriberStream.java (revision 2392)
@@ -1269,4 +1269,8 @@
}
state = State.STOPPED;
+ if (msgIn != null) {
+ msgIn.unsubscribe(this);
+ msgIn = null;
+ }
notifyItemStop(currentItem);
clearWaitJobs();
Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.
More information about the Red5commits
mailing list