[RenderPather] warn about unrendered paths on deletion
This commit is contained in:
parent
737d41d592
commit
add0600bac
1 changed files with 4 additions and 0 deletions
|
|
@ -72,6 +72,10 @@ class RenderPather(PatherMixin):
|
|||
def ports(self, value: dict[str, Port]) -> None:
|
||||
self.pattern.ports = value
|
||||
|
||||
def __del__(self) -> None:
|
||||
if any(pp for pp in self.paths):
|
||||
logger.warning('RenderPather had unrendered paths', stack_info=True)
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
library: ILibrary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue