diff options
Diffstat (limited to 'src/reload.rs')
| -rw-r--r-- | src/reload.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reload.rs b/src/reload.rs index 1d1aa3e..b7e7345 100644 --- a/src/reload.rs +++ b/src/reload.rs @@ -46,6 +46,7 @@ pub fn begin_reload() { panic::resume_unwind(Box::new(42)); } +/// # Safety /// ONLY TO BE CALLED FROM MAIN WHEN NOT A SINGLE RESOURCE IS HELD pub unsafe fn continue_reload() { if !RELOAD.load(Ordering::SeqCst) { |
