azproduction / lmd

LMD - JavaScript Module-Assembler for building better web applications :warning: Project is no longer supported :warning:
http://azproduction.ru/lmd/
MIT License
449 stars 27 forks source link

Multiple calls of (new LmdWriter).writeAll cause cumulative callback calls. #156

Closed maxatwork closed 10 years ago

maxatwork commented 10 years ago

Test case:

function test() {
    new LmdWriter(buildResult)
            .writeAll(function (err) {
                console.log('done');
            });
}
test(); // log: done
test(); // log: done
        // log: done
test(); // log: done
        // log: done
        // log: done
azproduction commented 10 years ago

Fixed in lmd@1.10.26