Skip to content

Commit 6cde7d5

Browse files
committed
fix: don't open protocol if already open
1 parent 3c6d6e7 commit 6cde7d5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

protocolext.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ void cIptvProtocolExt::TerminateScript() {
136136
}
137137

138138
bool cIptvProtocolExt::Open() {
139+
if (isActiveM) {
140+
// the script is still running
141+
return true;
142+
}
143+
139144
debug1("%s", __PRETTY_FUNCTION__);
140145

141146
// Reject empty script files

0 commit comments

Comments
 (0)