Skip to content

Commit c306e04

Browse files
Removing NSNull check that sometimes crashes on linux
1 parent 3ae6975 commit c306e04

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Sources/GraphZahl/Utils/MethodInfo+resolve.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ extension MethodInfo {
104104
} as [Any]
105105

106106
let result = try self.call(receiver: receiver, arguments: arguments)
107-
if result is NSNull {
108-
return eventLoop.next().makeSucceededFuture(Optional<Int>.none)
109-
}
110107

111108
// TODO: for some reason this breaks with arrays...
112109
// this will break the server if we ever return [Future<T>]

0 commit comments

Comments
 (0)