Possible issue with Mono and ConditionalWeakTable
Closed this issue · 2 comments
Sahasrara commented
I came across this bug report for Mono and was wondering if that could cause issues using ConditionalWeakTable:
mono/mono#13560
I guess it would only impact cases where devs create and delete event buses.
PeturDarri commented
Yeah, it was a mistake to use ConditionalWeakTable
. It also has issues with IL2CPP in Unity. I have a branch (wip/replace-conditional-weak-table
) that replaces it with an explicit dispose pattern, but haven't gotten around to merging it yet.
PeturDarri commented
Merged the branch.