diff --git a/ATxService/AutoTx.cs b/ATxService/AutoTx.cs index bdc3320aad66bd1d74a17fc8d88f40f59230caf1..4f812258546382a4319f4077cfb44f732f34c3ff 100644 --- a/ATxService/AutoTx.cs +++ b/ATxService/AutoTx.cs @@ -55,7 +55,7 @@ namespace ATxService // to prevent accidentially launching new transfers etc. } - private TxState _transferState; + private TxState _transferState = TxState.Stopped; private ServiceConfig _config; private ServiceStatus _status; @@ -189,7 +189,6 @@ namespace ATxService /// </summary> private void LoadSettings() { try { - _transferState = TxState.Stopped; LoadConfigXml(); LoadStatusXml();