dbScan: handle scanStop() before start

This commit is contained in:
Michael Davidsaver
2024-06-14 16:00:49 -07:00
parent be8f8b41ff
commit 0a6b9e4511

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;