| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -278,6 +278,8 @@ void StreamPipe::New(const FunctionCallbackInfo<Value>& args) { | |||
| 278 | 278 | CHECK(args[1]->IsObject()); | |
| 279 | 279 | StreamBase* source = StreamBase::FromObject(args[0].As<Object>()); | |
| 280 | 280 | StreamBase* sink = StreamBase::FromObject(args[1].As<Object>()); | |
| 281 | + CHECK_NOT_NULL(source); | ||
| 282 | + CHECK_NOT_NULL(sink); | ||
| 281 | 283 | ||
| 282 | 284 | if (StreamPipe::New(source, sink, args.This()).IsNothing()) return; | |
| 283 | 285 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments