More cleanup

This commit is contained in:
dcodeIO
2018-07-20 22:37:25 +02:00
parent 2fa7d6678c
commit 3c1f0dc1f8
3 changed files with 13 additions and 34 deletions

View File

@ -130,7 +130,7 @@ class ManagedObjectSet extends ManagedObject {
}
/** Performs a single step according to the current state. */
export function step(): bool {
function step(): void {
var obj: ManagedObject;
switch (state) {
case State.INIT: {
@ -191,7 +191,6 @@ export function step(): bool {
break;
}
}
return state != State.IDLE;
}
@inline function refToObj(ref: usize): ManagedObject {