From 2b10a9b7f61d58157f85c93e8e7b18b1e01e4b79 Mon Sep 17 00:00:00 2001 From: bptato Date: Sat, 1 Jul 2023 19:26:32 +0200 Subject: use =destroy instead of finalizers This should help with moving to ORC in the future. (Also, finalizers do not work very well in the first place.) --- src/js/intl.nim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/js/intl.nim') diff --git a/src/js/intl.nim b/src/js/intl.nim index f37789ad..054e5d04 100644 --- a/src/js/intl.nim +++ b/src/js/intl.nim @@ -6,6 +6,8 @@ import js/javascript type NumberFormat = ref object +jsDestructor(NumberFormat) + #TODO ...yeah proc newNumberFormat(name: string = "en-US", options = none(JSValue)): NumberFormat {.jsctor.} = -- cgit 1.4.1-2-gfad0