GenericEventBus icon indicating copy to clipboard operation
GenericEventBus copied to clipboard

Possible issue with Mono and ConditionalWeakTable

Open Sahasrara opened this issue 3 years ago • 1 comments

I came across this bug report for Mono and was wondering if that could cause issues using ConditionalWeakTable: https://github.com/mono/mono/issues/13560

I guess it would only impact cases where devs create and delete event buses.

Sahasrara avatar Dec 01 '22 22:12 Sahasrara

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 avatar Jan 30 '23 13:01 PeturDarri

Merged the branch.

PeturDarri avatar Jun 13 '24 01:06 PeturDarri