Commit 400a2be
authored
fix: RpcQueueContainer deregister from NetworkUpdateManager (#453)
* fix: deregistration fix
This fixes the issue with the RpcQueueContainer not deregistering itself from the NetworkUpdateManager upon shutdown of the NetworkingManager.
* refactor: Removing comment
Removing a comment that doesn't need to be there.
* refactor: code clarity
@jeffreyrainy suggested that the OnExiting method was confusing and it didn't make sense having more than one method to call in order to handle cleaning up and deregistering from the network update loop.
These changes refactors the method used to handle shutting down.1 parent d11088c commit 400a2be
2 files changed
Lines changed: 12 additions & 13 deletions
File tree
- com.unity.multiplayer.mlapi/Runtime
- Core
- Messaging/RPCQueue
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
| 697 | + | |
697 | 698 | | |
698 | 699 | | |
699 | 700 | | |
| |||
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
652 | 653 | | |
653 | | - | |
| 654 | + | |
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
| |||
661 | 662 | | |
662 | 663 | | |
663 | 664 | | |
664 | | - | |
665 | | - | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
666 | 669 | | |
667 | | - | |
| 670 | + | |
668 | 671 | | |
669 | 672 | | |
670 | 673 | | |
| |||
675 | 678 | | |
676 | 679 | | |
677 | 680 | | |
678 | | - | |
679 | 681 | | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
| 682 | + | |
686 | 683 | | |
687 | 684 | | |
688 | 685 | | |
| |||
696 | 693 | | |
697 | 694 | | |
698 | 695 | | |
| 696 | + | |
699 | 697 | | |
700 | 698 | | |
701 | 699 | | |
| |||
0 commit comments