Commit 9bf0344
committed
Dispose GC with Canvas
CanvasContext is wrapping a "GC" NativeObject that needs to be
disposed. While the Canvas is set as the "parent" of the GC, the
usual mechanism that automatically disposes children of a widget
is not in effect here, so the GC needs to be disposed explicitly.
Fix #2130
Change-Id: Ic71e7b99a5160d37c636cfaffc8d371691ee849f1 parent 1ab0b14 commit 9bf0344
File tree
2 files changed
+19
-2
lines changed- src/tabris
- test/tabris
2 files changed
+19
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
203 | | - | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
95 | 110 | | |
96 | 111 | | |
97 | 112 | | |
98 | 113 | | |
99 | 114 | | |
100 | 115 | | |
101 | | - | |
| 116 | + | |
102 | 117 | | |
103 | 118 | | |
104 | 119 | | |
| |||
0 commit comments