Files
oak-gpui/crates
Jakob Hellermann e54455bcad Call OleInitialize to fix DirectWrite in TestPlatform on windows (#12289)
Running the tests on windows currently fails for every gpui test using
the `TestPlatform` with

```rs
called `Result::unwrap()` on an `Err` value: CoInitialize has not been called. (0x800401F0)
```
trying to call `CoCreateInstance`in the `DirectWriteComponent`.

The `WindowsPlatform` calls
[`OleInitialize`](https://learn.microsoft.com/de-de/windows/win32/api/ole2/nf-ole2-oleinitialize)
which internally calls `CoInitializeEx` so I just copied that to the
`TestPlatform`.

Release Notes:

- N/A
2024-05-26 16:56:09 -07:00
..
2024-05-10 15:50:20 -06:00
2024-05-26 16:30:09 -07:00
2024-05-23 15:50:59 +02:00
…
2024-05-26 16:30:09 -07:00
2024-05-23 15:50:59 +02:00
2024-05-22 14:36:15 +03:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
…
2024-05-09 21:08:49 -06:00
2024-05-23 15:50:59 +02:00
2024-05-26 16:30:09 -07:00
2024-05-22 14:36:15 +03:00
2024-05-23 15:50:59 +02:00
2024-05-23 15:50:59 +02:00
2024-05-26 16:30:09 -07:00
2024-05-26 16:30:09 -07:00