Commit 467f2de
committed
[dmlab_connect, egl_glimp] Unload graphics-related modules when the environment is destroyed.
In simply-linked applications, the graphics modules merely leave "still reachable" allocations behind. But when we load and unload the engine via the DSO loader, those allocations become actual leaks, so there is some value in minimizing them.1 parent 4ab113d commit 467f2de
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
1128 | 1129 | | |
1129 | 1130 | | |
1130 | 1131 | | |
| 1132 | + | |
1131 | 1133 | | |
1132 | 1134 | | |
1133 | 1135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
0 commit comments