Commit b5ce165
Edward Raigosa
fixing panic in calls to assertion with nil m.mutex (#1212)
* fixing panic in calls to assertion with nil m.mutex
This reverts a change that was made in #1182
The PR makes m.mutex a pointer which now needs to be checked but it's not checked for nil everywhere.
This should also help with these issues:
- #1208
- #1210
* Revert throwing out the lock because other concurrent calls can already have it locked
* fix go vet copy lock by using pointer
* fix obj assignment for passing test1 parent c206b2e commit b5ce165
1 file changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | 285 | | |
290 | 286 | | |
291 | 287 | | |
| |||
316 | 312 | | |
317 | 313 | | |
318 | 314 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | 315 | | |
323 | 316 | | |
324 | 317 | | |
| |||
526 | 519 | | |
527 | 520 | | |
528 | 521 | | |
529 | | - | |
| 522 | + | |
530 | 523 | | |
531 | | - | |
| 524 | + | |
532 | 525 | | |
533 | 526 | | |
534 | 527 | | |
| |||
545 | 538 | | |
546 | 539 | | |
547 | 540 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 541 | | |
552 | 542 | | |
553 | 543 | | |
| |||
0 commit comments