Skip to content

fix(unet-channels): Invoking .Clear() on two Dictionaries within the Shutdown-function#199

Merged
TwoTenPvP merged 2 commits intoUnity-Technologies:masterfrom
BabakSamimi:hotfix
Apr 4, 2019
Merged

fix(unet-channels): Invoking .Clear() on two Dictionaries within the Shutdown-function#199
TwoTenPvP merged 2 commits intoUnity-Technologies:masterfrom
BabakSamimi:hotfix

Conversation

@BabakSamimi
Copy link
Contributor

GetConfig() will try to insert already existing kvp-pairs. Clearing the dictionaries fixes this and allows, for example, doing StartHost() -> StopHost() -> StartHost() within the same session.

Babak Samimi added 2 commits April 4, 2019 06:46
…Shutdown-function

GetConfig() will try to insert new kvp-pairs even though they already exists. Clearing them fixes this and allow, for example, doing StartHost() -> StopHost() -> StartHost() within the same session.
@TwoTenPvP TwoTenPvP merged commit f3bc0e5 into Unity-Technologies:master Apr 4, 2019
@TwoTenPvP
Copy link
Contributor

🎉 This PR is included in version 8.2.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

MrCool92 pushed a commit to MrCool92/MLAPI that referenced this pull request Dec 6, 2020
…Shutdown-function (Unity-Technologies#199)

* fix(unet-channels): Invoking .Clear() on two Dictionaries within the Shutdown-function

GetConfig() will try to insert new kvp-pairs even though they already exists. Clearing them fixes this and allow, for example, doing StartHost() -> StopHost() -> StartHost() within the same session.

* changed the fields back to read-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants