Dan Ballard pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android
Commits:
-
54d46f59
by Dan Ballard at 2024-01-31T12:42:11-08:00
1 changed file:
Changes:
... | ... | @@ -143,28 +143,28 @@ class TorControllerGV( |
143 | 143 | // TorEvents
|
144 | 144 | override fun onTorConnecting() {
|
145 | 145 | synchronized(torListeners) {
|
146 | - torListeners.forEach { it.onTorConnecting() }
|
|
146 | + torListeners.toList().forEach { it.onTorConnecting() }
|
|
147 | 147 | }
|
148 | 148 | }
|
149 | 149 | |
150 | 150 | // TorEvents
|
151 | 151 | override fun onTorConnected() {
|
152 | 152 | synchronized(torListeners) {
|
153 | - torListeners.forEach { it.onTorConnected() }
|
|
153 | + torListeners.toList().forEach { it.onTorConnected() }
|
|
154 | 154 | }
|
155 | 155 | }
|
156 | 156 | |
157 | 157 | // TorEvents
|
158 | 158 | override fun onTorStatusUpdate(entry: String?, status: String?) {
|
159 | 159 | synchronized(torListeners) {
|
160 | - torListeners.forEach { it.onTorStatusUpdate(entry, status) }
|
|
160 | + torListeners.toList().forEach { it.onTorStatusUpdate(entry, status) }
|
|
161 | 161 | }
|
162 | 162 | }
|
163 | 163 | |
164 | 164 | // TorEvents
|
165 | 165 | override fun onTorStopped() {
|
166 | 166 | synchronized(torListeners) {
|
167 | - torListeners.forEach { it.onTorStopped() }
|
|
167 | + torListeners.toList().forEach { it.onTorStopped() }
|
|
168 | 168 | }
|
169 | 169 | }
|
170 | 170 |