Fix management of capture lists in query execution

This commit is contained in:
Max Brunsfeld 2019-09-11 12:06:38 -07:00
parent 60467ae701
commit 4fa0b02d67
3 changed files with 322 additions and 210 deletions

View file

@ -51,6 +51,12 @@ pub fn stop_recording() {
}
}
pub fn record(f: impl FnOnce()) {
start_recording();
f();
stop_recording();
}
fn record_alloc(ptr: *mut c_void) {
let mut recorder = RECORDER.lock();
if recorder.enabled {