This commit is contained in:
Pilzinsel64
2025-10-22 07:45:15 +02:00
parent 75b5f7ddd5
commit a25077e989
2 changed files with 3 additions and 1 deletions

View File

@@ -118,12 +118,14 @@ public class ApiServer : IApiServer
doListen = true;
httpListener.Start();
Log.Info("Started listener");
Jobs.Start();
Receive();
}
public virtual void Stop(bool graceful)
{
Log.Info("Stopping listener");
Jobs.Stop();
doListen = false;
if (graceful)
httpListener.Stop();