about summary refs log tree commit diff stats
path: root/src/buffer/container.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer/container.nim')
-rw-r--r--src/buffer/container.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim
index a2bbaa3a..21b11af6 100644
--- a/src/buffer/container.nim
+++ b/src/buffer/container.nim
@@ -97,6 +97,8 @@ type
     hasstart: bool
     redirectdepth*: int
 
+jsDestructor(Container)
+
 proc newBuffer*(dispatcher: Dispatcher, config: BufferConfig,
                 source: BufferSource, title = "", redirectdepth = 0): Container =
   let attrs = getWindowAttributes(stdout)