Skip to content
Snippets Groups Projects
Commit 0c6c99d9 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Clean up LoadSettings method.

parent 0e16e360
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ namespace ATxService ...@@ -55,7 +55,7 @@ namespace ATxService
// to prevent accidentially launching new transfers etc. // to prevent accidentially launching new transfers etc.
} }
private TxState _transferState; private TxState _transferState = TxState.Stopped;
private ServiceConfig _config; private ServiceConfig _config;
private ServiceStatus _status; private ServiceStatus _status;
...@@ -189,7 +189,6 @@ namespace ATxService ...@@ -189,7 +189,6 @@ namespace ATxService
/// </summary> /// </summary>
private void LoadSettings() { private void LoadSettings() {
try { try {
_transferState = TxState.Stopped;
LoadConfigXml(); LoadConfigXml();
LoadStatusXml(); LoadStatusXml();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment