fix formatting
This commit is contained in:
1 parent
a14e5be7ad
commit
78b9b157dc
7 files changed
+40
-24
No files matched your search
@@ -260,7 +260,9 @@ pub fn after_render(f: impl FnMut() + 'static) {
|
||||
pub async fn flush_sync() {
|
||||
// Wait for the flush lock to be available
|
||||
// We release it immediately, so it's impossible for the lock to be held longer than this function
|
||||
Runtime::with(|rt| rt.render_signal.subscribe()).unwrap().await;
|
||||
Runtime::with(|rt| rt.render_signal.subscribe())
|
||||
.unwrap()
|
||||
.await;
|
||||
}
|
||||
|
||||
/// Use a hook with a cleanup function
|
||||
|
||||
Reference in new issue
Block a user