Browse Source

Check whether form handle been created(#650)

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
tags/3.2
Syrone Wong 8 years ago
parent
commit
4795340999
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      shadowsocks-csharp/View/LogForm.cs

+ 1
- 1
shadowsocks-csharp/View/LogForm.cs View File

@@ -76,7 +76,7 @@ namespace Shadowsocks.View
try try
{ {
if (trafficChart.InvokeRequired)
if (trafficChart.InvokeRequired && trafficChart.IsHandleCreated)
{ {
trafficChart.Invoke(new Action(() => trafficChart.Invoke(new Action(() =>
{ {


Loading…
Cancel
Save