diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-06-21 10:49:39 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 10:49:39 +0530 |
commit | b4939f33795b42f4a6bb47a803a9c83b531454a4 (patch) | |
tree | c666a9daef5cdfc05644a233910f60f9ecd98634 /ext/tls | |
parent | 88e3f465d3a95db277ac7e685a0ed239958f8e6e (diff) |
fix: upgrade deno_core to 0.291.0 (#24297)
Diffstat (limited to 'ext/tls')
-rw-r--r-- | ext/tls/tls_key.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tls/tls_key.rs b/ext/tls/tls_key.rs index 18064a91a..66fea3a69 100644 --- a/ext/tls/tls_key.rs +++ b/ext/tls/tls_key.rs @@ -50,6 +50,8 @@ pub enum TlsKeys { pub struct TlsKeysHolder(RefCell<TlsKeys>); +impl deno_core::GcResource for TlsKeysHolder {} + impl TlsKeysHolder { pub fn take(&self) -> TlsKeys { std::mem::take(&mut *self.0.borrow_mut()) @@ -222,6 +224,8 @@ pub struct TlsKeyLookup { RefCell<HashMap<String, broadcast::Sender<Result<TlsKey, ErrorType>>>>, } +impl deno_core::GcResource for TlsKeyLookup {} + impl TlsKeyLookup { /// Multiple `poll` calls are safe, but this method is not starvation-safe. Generally /// only one `poll`er should be active at any time. |