Use atomic long read.

Signed-off-by: noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
noisyfox
2016-08-26 12:23:21 +10:00
parent f935514c05
commit a7b0ce5bcb
2 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ namespace Shadowsocks.View
}
this.Text = I18N.GetString("Log Viewer") +
$" [in: {Utils.FormatBandwidth(controller.inboundCounter)}, out: {Utils.FormatBandwidth(controller.outboundCounter)}]";
$" [in: {Utils.FormatBandwidth(controller.InboundCounter)}, out: {Utils.FormatBandwidth(controller.OutboundCounter)}]";
}
private void LogForm_Load(object sender, EventArgs e)