Fixes for MangaKatana #53

Merged
glax merged 3 commits from cuttingedge into master 2023-07-31 23:09:25 +02:00
Showing only changes of commit 436edfde66 - Show all commits

View File

@ -82,12 +82,11 @@ public class Server
response.OutputStream.Write(content is not null response.OutputStream.Write(content is not null
? Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(content)) ? Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(content))
: Array.Empty<byte>()); : Array.Empty<byte>());
response.OutputStream.Close();
} }
catch (HttpListenerException) catch (HttpListenerException)
{ {
} }
response.OutputStream.Close();
} }
} }