nclosure icon indicating copy to clipboard operation
nclosure copied to clipboard

Killing the current thread

Open skrat opened this issue 12 years ago • 0 comments

node v0.6.18, git HEAD of nclosure/master

Running

NODE_PATH=/opt/local/lib/node:/opt/local/lib/node_modules node test/some_test.js

with

require('nclosure').nclosure();

goog.require('goog.iter');
goog.require('goog.testing.jsunit');
goog.require('goog.testing.MockControl');

goog.require('some.geom.Line2');
goog.require('some.geom.Point2');
goog.require('some.layers.Layer');
goog.require('some.models.Line');
goog.require('some.models.Structure');
goog.require('some.util');

var ctrl, walls, Line, Line2, Point2, forEach, memoize;

function setUpPage() {
    forEach = goog.iter.forEach;
    Line = some.models.Line;
    Line2 = some.geom.Line2;
    memoize = some.util.memoize;
    Point2 = some.geom.Point2;

    ctrl = new goog.testing.MockControl();
}

function setUp() {
    function mockGetElement() {
        return { ....

seems to fall into infinite loop printing

Killing the current thread.
Killing the current thread.
Killing the current thread.
...

skrat avatar Jun 26 '12 10:06 skrat