| ... | ... | @@ -469,10 +469,11 @@ pub fn flushModule(self: *MachO, comp: *Compilation, prog_node: *std.Progress.No |
| 469 | 469 | |
| 470 | 470 | const cache_dir_handle = module.zig_cache_artifact_directory.handle; |
| 471 | 471 | var man: Cache.Manifest = undefined; |
| 472 | | defer if (!self.base.options.disable_lld_caching) man.deinit(); |
| 472 | defer man.deinit(); |
| 473 | 473 | |
| 474 | 474 | var digest: [Cache.hex_digest_len]u8 = undefined; |
| 475 | 475 | man = comp.cache_parent.obtain(); |
| 476 | man.want_shared_lock = false; |
| 476 | 477 | self.base.releaseLock(); |
| 477 | 478 | |
| 478 | 479 | man.hash.addListOfBytes(libs.keys()); |