mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
To get around some weirdness sometimes (you never know WHAT state you're in when you're in the middle of an exception handler...), use UNIVERSAL::isa() instead of the isa() method.
This commit is contained in:
parent
f973ed9b2e
commit
cad9e1a0d4
@ -485,7 +485,7 @@ sub handle {
|
||||
$reraise = wrap($@);
|
||||
if (not defined($result) or # $result is not defined if $reraise is now defined
|
||||
not ref($result) or
|
||||
not $result->isa('PLIF::Exception::Internal::Fallthrough')) {
|
||||
not UNIVERSAL::isa($result, 'PLIF::Exception::Internal::Fallthrough')) {
|
||||
last handler;
|
||||
}
|
||||
# else, it's the result of an "fallthrough" function call
|
||||
|
Loading…
Reference in New Issue
Block a user