Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference : Make
m_plugEdits
key more unique
On Windows in particular, and it's conceivable that it could happen on Linux, `plugEdit()` would occasionally find an edit for a plug where none should exist. This was due the memory address of the plug, used as a key for `m_plugEdits`, for a newly created plug was the same as a recently deleted plug. This was causing a test failure in `GafferTest.ReferenceTest.testAddingChildPlugs` on Windows with something like 1 : 1000 probability.
- Loading branch information