Fix management of capture lists in query execution
This commit is contained in:
parent
60467ae701
commit
4fa0b02d67
3 changed files with 322 additions and 210 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue