Skip to content

Commit 091c965

Browse files
committed
return after throw
Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent bd782cc commit 091c965

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cli/ext/ext.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ func emit_event(userVal *C.zval, event *C.zval, fromStr *C.zend_string) int64 {
386386
}
387387
if !authd {
388388
helpers.ThrowPHPException("Resource not found")
389+
return 0
389390
}
390391
replyTo := ""
391392
if ev.ReplyTo != "" {

0 commit comments

Comments
 (0)