dbScan: handle scanStop() before start
This commit is contained in:
1 parent
be8f8b41ff
commit
0a6b9e4511
1 file changed
+1
-1
@@ -155,7 +155,7 @@ void scanStop(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (scanCtl == ctlExit) return;
|
||||
if (scanCtl == ctlInit || scanCtl == ctlExit) return;
|
||||
scanCtl = ctlExit;
|
||||
|
||||
interruptAccept = FALSE;
|
||||
|
||||
Reference in new issue
Block a user