Skip to content

Commit

Permalink
assert context is paused only if not release
Browse files Browse the repository at this point in the history
  • Loading branch information
mykmelez committed May 20, 2015
1 parent 63678c9 commit d202543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ module J2ME {
r = fn.apply(this, arguments);
}
if (U) {
assert(ctx.paused, "context is paused");
release || assert(ctx.paused, "context is paused");

if (methodInfo.isNative) {
// A fake frame that just returns is pushed so when the ctx resumes from the unwind
Expand Down

0 comments on commit d202543

Please sign in to comment.