Explicitly guarantee no simultaneous editors exist
This commit is contained in:
parent
57297cc04c
commit
08fe8e703e
|
@ -139,6 +139,9 @@ pub trait Editor: Send + Sync {
|
|||
/// This function should return a handle to the editor, which will be dropped when the editor
|
||||
/// gets closed. Implement the [Drop] trait on the returned handle if you need to explicitly
|
||||
/// handle the editor's closing behavior.
|
||||
///
|
||||
/// The wrapper guarantees that a previous handle has been dropped before this function is
|
||||
/// called again.
|
||||
//
|
||||
// TODO: Think of how this would work with the event loop. On Linux the wrapper must provide a
|
||||
// timer using VST3's `IRunLoop` interface, but on Window and macOS the window would
|
||||
|
|
Loading…
Reference in a new issue