Skip to content

Commit

Permalink
Merge pull request #162 from urbit/pq/reset-cache
Browse files Browse the repository at this point in the history
Pq/reset cache
  • Loading branch information
eamsden authored Dec 6, 2023
2 parents 9774da7 + e7d76a3 commit 3e1fa58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/ares/src/serf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ fn work_swap(context: &mut Context, job: Noun, goof: Noun) {
clear_interrupt();

let stack = &mut context.nock_context.stack;
context.nock_context.cache = Hamt::<Noun>::new();
// crud ovo = [+(now) [%$ %arvo ~] [%crud goof ovo]]
let job_cell = job.as_cell().expect("serf: work: job not a cell");
let job_now = job_cell.head().as_atom().expect("serf: work: now not atom");
Expand Down

0 comments on commit 3e1fa58

Please sign in to comment.