Commit 238eafc
authored
Properly implement action server/client handle cleanup. (#905)
* Properly implement action server/client handle cleanup.
In particular, it should never really be the case that the
underlying handle that we are using is None. That only seemed
to be happening because we were double destroying; once in
the explicit call to destroy(), and once in __del__. But
we don't actually need __del__; during garbage collection, we'll
drop the reference to the handle and then the underlying object
will get freed anyway. Just remove all of that extraneous
infrastructure here.
Signed-off-by: Chris Lalancette <[email protected]>1 parent 53771be commit 238eafc
2 files changed
+2
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | 356 | | |
360 | 357 | | |
361 | 358 | | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | 359 | | |
366 | 360 | | |
367 | 361 | | |
| |||
589 | 583 | | |
590 | 584 | | |
591 | 585 | | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
| 586 | + | |
| 587 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 498 | | |
502 | 499 | | |
503 | 500 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | 501 | | |
508 | 502 | | |
509 | 503 | | |
| |||
602 | 596 | | |
603 | 597 | | |
604 | 598 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 599 | | |
609 | 600 | | |
610 | 601 | | |
611 | 602 | | |
612 | 603 | | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
0 commit comments