1 Commits
Author SHA1 Message Date
BlubbFish 1a33d2ef0a Stopping HTTPListener is in netcore different 2019-12-10 15:20:50 +01:00
+3
View File
@@ -144,7 +144,10 @@ namespace BlubbFish.Utils.IoT.Bots {
}
public override void Dispose() {
if(this.httplistener.IsListening) {
this.httplistener.Stop();
}
this.httplistener.Close();
if(this.databackend != null) {
this.databackend.Dispose();