Skip to content

Commit 84e3fb9

Browse files
authored
Merge pull request jruby#9311 from headius/thread_toplevel_frame
Push a frame for thread toplevel
2 parents 5cbf5a6 + e6a0c4e commit 84e3fb9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/org/jruby/internal/runtime/RubyRunnable.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public void run() {
100100
// uber-ThreadKill catcher, since it should always just mean "be dead"
101101
try {
102102
// Push a frame for the toplevel of the thread
103+
context.pushFrame();
103104

104105
// Call the thread's code
105106
Block threadBlock = proc.getBlock();

0 commit comments

Comments
 (0)