Created
January 4, 2013 08:02
-
-
Save anonymous/4450784 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private void UpdateRequestsList() | |
| { | |
| //為了確認舊的Request是否有部屬過了,避免記憶體濫用 | |
| if (transferRequests != null) | |
| { | |
| foreach (var request in transferRequests) | |
| { | |
| request.Dispose(); | |
| } | |
| } | |
| //沒被部屬過才啟用Service | |
| transferRequests = BackgroundTransferService.Requests; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment