guard controller set to fix hot restarts
This commit is contained in:
parent
bb9fdfa83d
commit
7d64d780b8
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ impl Workspace {
|
|||
|
||||
pub fn listen_workspaces(sink: StreamSink<Vec<Vec<Workspace>>>) -> Result<()> {
|
||||
let (tx, rx): (Sender<u32>, Channel<u32>) = channel();
|
||||
CONTROLLER.set(tx).unwrap();
|
||||
let _ = CONTROLLER.set(tx);
|
||||
|
||||
let connection = Connection::connect_to_env().unwrap();
|
||||
let event_queue = connection.new_event_queue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue