I have written a program that uses wgpu, and if a panic occurs I get a lot of error messages from gpu-alloc, due to this line:
|
eprintln!("Memory block wasn't deallocated") |
Due to the high amount of messages that gpu-alloc prints, trying to understand what caused the panic in the first place can be tricky. This can be especially annoying when the console output moves previous messages so far up that they no longer show.
Do you think it might be possible to add some option to suppress or remove that output?
I have written a program that uses wgpu, and if a panic occurs I get a lot of error messages from gpu-alloc, due to this line:
gpu-alloc/gpu-alloc/src/block.rs
Line 23 in 2baf6a9
Due to the high amount of messages that gpu-alloc prints, trying to understand what caused the panic in the first place can be tricky. This can be especially annoying when the console output moves previous messages so far up that they no longer show.
Do you think it might be possible to add some option to suppress or remove that output?