We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 637a5bb commit 6f2e8d8Copy full SHA for 6f2e8d8
packages/stage/src/Rule.ts
@@ -124,6 +124,7 @@ export default class Rule extends EventEmitter {
124
this.hGuides?.off('changeGuides', this.hGuidesChangeGuidesHandler);
125
this.vGuides?.off('changeGuides', this.vGuidesChangeGuidesHandler);
126
this.containerResizeObserver?.disconnect();
127
+ this.container = undefined;
128
this.removeAllListeners();
129
}
130
@@ -137,7 +138,6 @@ export default class Rule extends EventEmitter {
137
138
139
this.hGuides = undefined;
140
this.vGuides = undefined;
- this.container = undefined;
141
142
143
private getGuidesStyle = (type: GuidesType) => ({
0 commit comments