This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Commit 46a8eb4
committed
Prevent PullRequestSessionManager.StatusChanged throwing
`PullRequestSessionManager.StatusChanged` was throwing when the repository status changed because it was trying to set `initialized` when the task is already completed. Use `TrySetResult` which doesn't throw when the task has already completed.1 parent 4a4d4e5 commit 46a8eb4
File tree
1 file changed
+1
-1
lines changed- src/GitHub.InlineReviews/Services
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
0 commit comments