From 708f227708b3636701ff7516442fed263dae8984 Mon Sep 17 00:00:00 2001 From: Thord Johansson Date: Sun, 2 Jun 2024 17:45:16 +0200 Subject: [PATCH] Minor cleanup, made the worker thread readonly --- Program.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index 62e54ef..d19d6d5 100644 --- a/Program.cs +++ b/Program.cs @@ -5,7 +5,6 @@ using MetaBrainz.MusicBrainz; using IniParser; using IniParser.Model; using Topshelf; -using Microsoft.VisualBasic; using System.Web; using MetaBrainz.MusicBrainz.Interfaces.Entities; using MetaBrainz.MusicBrainz.Interfaces.Searches; @@ -16,7 +15,7 @@ public class LbzRpcService DiscordRpcClient? client = null; ListenBrainz? listenBrainz = null; - Thread t; + readonly Thread t; bool running = false; public LbzRpcService()