Commit bc53de1
committed
Fix 'offline renderer' thread cleanup
Offline renderer thread in most of the cases doesn't clean up its resources.
Thread should be joined on every exit, not only when rendering process is in progress.
This problem was detected during webaudio testing which revealed memory leakage.1 parent 5b8829b commit bc53de1
1 file changed
Lines changed: 5 additions & 4 deletions
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 89 | | |
94 | 90 | | |
95 | 91 | | |
| |||
99 | 95 | | |
100 | 96 | | |
101 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
0 commit comments