Commit 51f3359
Rename WorkerChannelBase to WorkerChannel; replace OnDisposing with Dispose(bool) override
Address PR feedback:
- Rename WorkerChannelBase -> WorkerChannel (naming nit)
- Remove OnDisposing() virtual hook to avoid race with _disposing flag
- GrpcWorkerChannel now overrides Dispose(bool) directly, calling
StopWorkerProcess() before base cleanup
- Set _disposing = true before Dispose(true) in base class
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ef109a1 commit 51f3359
File tree
2 files changed
+10
-8
lines changed- src/WebJobs.Script.Grpc/Channel
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
184 | | - | |
185 | 183 | | |
186 | 184 | | |
187 | 185 | | |
| |||
1523 | 1521 | | |
1524 | 1522 | | |
1525 | 1523 | | |
1526 | | - | |
1527 | 1524 | | |
1528 | 1525 | | |
1529 | 1526 | | |
| |||
0 commit comments