1
0
Fork 0

Don't require a write lock to create an editor

This commit is contained in:
Robbert van der Helm 2022-02-06 15:22:30 +01:00
parent 67e9cae37b
commit f644ae8df8

View file

@ -1365,7 +1365,7 @@ impl<P: Plugin> IPlugView for WrapperView<P> {
*editor = self
.inner
.plugin
.write()
.read()
.create_editor(EditorWindowHandle { handle }, self.inner.clone());
kResultOk
} else {