From: mike.kaplinskiy@... Date: 2016-10-17T17:09:11+00:00 Subject: [ruby-core:77649] [Ruby trunk Bug#12847] Documentation of instance method Thread.abort_on_exception= is wrong Issue #12847 has been reported by Mike Kaplinskiy. ---------------------------------------- Bug #12847: Documentation of instance method Thread.abort_on_exception= is wrong https://bugs.ruby-lang.org/issues/12847 * Author: Mike Kaplinskiy * Status: Open * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- The documentation for the instance method says that the setting is global: https://ruby-doc.org/core-2.3.0/Thread.html#method-i-abort_on_exception-3D: ~~~ When set to true, all threads (including the main program) will abort if an exception is raised in this thr. ~~~ That's actually incorrect - the instance-level setting affects only the thread it was set on; it's not global. -- https://bugs.ruby-lang.org/ Unsubscribe: