We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fb2cf5 commit e400679Copy full SHA for e400679
frame-analyzer/src/lib.rs
@@ -227,6 +227,7 @@ impl Analyzer {
227
}
228
229
self.map.remove(&pid).ok_or(AnalyzerError::AppNotFound)?;
230
+ self.buffer.retain(|pid_event| *pid_event != pid);
231
self.register_poll()?;
232
233
Ok(())
@@ -255,6 +256,7 @@ impl Analyzer {
255
256
/// ```
257
pub fn detach_apps(&mut self) {
258
self.map.clear();
259
+ self.buffer.clear();
260
261
262
/// Attempts to wait for a frametime value on this analyzer
0 commit comments