Skip to content

Commit

Permalink
This should be drop, not forget
Browse files Browse the repository at this point in the history
  • Loading branch information
tigercat2000 committed Dec 30, 2024
1 parent 78a7e44 commit 876afc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iconforge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ fn generate_spritesheet(
error.lock().unwrap().push(e.to_string());
}

std::mem::forget(writer);
std::mem::drop(writer);

if let Err(e) = file.sync_all() {
error.lock().unwrap().push(e.to_string());
Expand Down

0 comments on commit 876afc3

Please sign in to comment.