ME_Kun_Han
Committed by winlin

fix bug for issues #654 (#426)

@@ -1036,7 +1036,7 @@ bool SrsSource::expired() @@ -1036,7 +1036,7 @@ bool SrsSource::expired()
1036 } 1036 }
1037 1037
1038 // still publishing? 1038 // still publishing?
1039 - if (!_can_publish) { 1039 + if (!_can_publish || !publish_edge->can_publish()) {
1040 return false; 1040 return false;
1041 } 1041 }
1042 1042