about summary refs log tree commit diff stats
path: root/src/types/blob.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/blob.nim')
-rw-r--r--src/types/blob.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types/blob.nim b/src/types/blob.nim
index d72d0505..505e4f7c 100644
--- a/src/types/blob.nim
+++ b/src/types/blob.nim
@@ -19,6 +19,9 @@ type
     path*: string
     file: File #TODO maybe use fd?
 
+jsDestructor(Blob)
+jsDestructor(WebFile)
+
 proc newBlob*(buffer: pointer, size: int, ctype: string,
     deallocFun: DeallocFun): Blob =
   return Blob(