mirror of
https://github.com/NoiTheCat/BirthdayBot.git
synced 2024-11-21 21:54:36 +00:00
Remove unnecessary LongRunning setting
This commit is contained in:
parent
8d92841e02
commit
04b68655bc
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ class ShardManager : IDisposable {
|
||||||
|
|
||||||
// Start status reporting thread
|
// Start status reporting thread
|
||||||
_mainCancel = new CancellationTokenSource();
|
_mainCancel = new CancellationTokenSource();
|
||||||
_statusTask = Task.Factory.StartNew(StatusLoop, _mainCancel.Token,
|
_statusTask = Task.Factory.StartNew(StatusLoop, _mainCancel.Token);
|
||||||
TaskCreationOptions.LongRunning, TaskScheduler.Default);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose() {
|
public void Dispose() {
|
||||||
|
|
Loading…
Reference in a new issue