Skip to content

Commit 5aa0cce

Browse files
committed
RuntimeContext: make _finishTime not static
1 parent 5af17ce commit 5aa0cce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RepostConfirmationCanceler/Logger.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ internal Logger(RunTimeMode mode)
3737
FilePath = Path.Combine(logDirectory, $"{LogFileNameBase}.log");
3838
EnableLogging = true;
3939
}
40-
catch (Exception ex)
40+
catch (Exception)
4141
{
4242
// ログ出力できないが、全体の処理は続行する。
4343
}

RepostConfirmationCanceler/RuntimeContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal DateTime FinishTime
3434
}
3535
}
3636
}
37-
private static DateTime _finishTime = DateTime.MinValue;
37+
private DateTime _finishTime = DateTime.MinValue;
3838

3939
internal bool IsEndTime
4040
{

0 commit comments

Comments
 (0)