개정판 6a19b48d
issue #00000 페이지 이미지 download 로직 수정
Change-Id: I4da03c36b5a135eea80b57b20ada38239afd1082
KCOM/Common/ViewerDataModel.cs | ||
---|---|---|
38 | 38 |
if (TokenSource != null) |
39 | 39 |
{ |
40 | 40 |
System.Diagnostics.Debug.WriteLine("cancel Token"); |
41 |
TokenSource.Cancel(); |
|
41 |
TokenSource.Cancel(true); |
|
42 |
|
|
43 |
while (!TokenSource.IsCancellationRequested) |
|
44 |
{ |
|
45 |
// Do some work, or just wait |
|
46 |
System.Threading.Thread.Sleep(50); |
|
47 |
} |
|
42 | 48 |
} |
43 | 49 |
|
44 | 50 |
TokenSource = new System.Threading.CancellationTokenSource(); |
내보내기 Unified diff