TooTallNate / NodObjC

The Node.js ⇆ Objective-C bridge

Home Page:http://tootallnate.github.io/NodObjC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do I need some release procedure?

y-ich opened this issue · comments

As my app using NodObjC is unstable, I made a simple case.
The following code ends in segmentation fault.

const $ = require('nodobjc');

$.framework('AppKit')

for (let i = 0; i < 120; i++) { // 119 is ok
    const imageClass = $.NSImage('class');
}

Do I need some release procedure?

My environment is,
macOS 10.13
node v8.8.1
nodobjc 2.1.0