mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 17:30:09 +02:00
The fix consisted of introducing "factory" type virtual methods which ensure that a reference is held to the returned object. This is important for implementing factory methods in Python. Without this, the object get destroyed before we have a chance to increment the reference count.