Commit 9aa7973
committed
[Win32] Simplify cleanup after Edge test execution
When executing tests for Edge, UI events are processed on teardown of
the test (or more precisely on widget disposal) as there may still be
resources related to the OS WebView component being cleaned up. The
current implementation was only supposed to be used for testing purposes
as an attempt to address non-deterministic timeouts in tests. However,
the timeouts still occur and the current implementation is prone to
break as it may never terminate when new events to be process arrive
frequently.
This change simplifies the cleanup functionality to process UI events
only once instead of looping it. This mitigates the risk of a
long-running loop and reduces unnecessary complexity.1 parent 48be417 commit 9aa7973
File tree
1 file changed
+1
-7
lines changed- tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit
1 file changed
+1
-7
lines changedLines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 254 | + | |
261 | 255 | | |
262 | 256 | | |
263 | 257 | | |
| |||
0 commit comments