dbScan: handle scanStop() before start

This commit is contained in:
Michael Davidsaver committed 2024-06-14 16:45:07 -07:00
1 parent be8f8b41ff
commit 0a6b9e4511
1 file changed
+1 -1
+1 -1
View File
@@ -155,7 +155,7 @@ void scanStop(void)
{
int i;
if (scanCtl == ctlExit) return;
if (scanCtl == ctlInit || scanCtl == ctlExit) return;
scanCtl = ctlExit;
interruptAccept = FALSE;