mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
More PeriodicTimer's instead of System.Threading.Timers
This commit is contained in:
@@ -30,7 +30,7 @@ public class ConverterService : INService, IReadyExecutor
|
||||
if (_client.ShardId != 0)
|
||||
return;
|
||||
|
||||
var timer = new PeriodicTimer(_updateInterval);
|
||||
using var timer = new PeriodicTimer(_updateInterval);
|
||||
do
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user