Skip to content

Commit

Permalink
Changed the ordering on the AtomicBool
Browse files Browse the repository at this point in the history
  • Loading branch information
dreemkiller committed Jan 26, 2021
1 parent d946fa7 commit 836e78d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabasco/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ async fn nitro_router(nitro_request: web::Path<String>, input_data: String) -> T

pub fn server(url: String, debug: bool) -> Result<Server, String> {
if debug {
DEBUG_MODE.store(true, Ordering::Relaxed);
DEBUG_MODE.store(true, Ordering::SeqCst);
}
let server = HttpServer::new(move || {
App::new()
Expand Down

0 comments on commit 836e78d

Please sign in to comment.