>Fix a crash when std_invokemethod handlers return nonzero

Not much to say. Looks good. +1.

---------
Kaitlin Rupert