Don't require a write lock to create an editor
This commit is contained in:
parent
67e9cae37b
commit
f644ae8df8
|
@ -1365,7 +1365,7 @@ impl<P: Plugin> IPlugView for WrapperView<P> {
|
||||||
*editor = self
|
*editor = self
|
||||||
.inner
|
.inner
|
||||||
.plugin
|
.plugin
|
||||||
.write()
|
.read()
|
||||||
.create_editor(EditorWindowHandle { handle }, self.inner.clone());
|
.create_editor(EditorWindowHandle { handle }, self.inner.clone());
|
||||||
kResultOk
|
kResultOk
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue