Don't enter infinite loop generating id

This commit is contained in:
James Allen 2017-01-10 11:58:55 +01:00
parent 12e1b2bc3d
commit 7ae33041b5

View file

@ -55,7 +55,7 @@ load = (EventEmitter) ->
'0000'.substr(0, 4 - pid.length) + pid
@generateId: () ->
@generateId() + "000001"
@generateIdSeed() + "000001"
newId: () ->
@id_increment++