File tree 2 files changed +6
-12
lines changed
2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -171,15 +171,9 @@ Environment::Environment(IsolateData* isolate_data,
171
171
immediate_info_(context->GetIsolate ()),
172
172
tick_info_(context->GetIsolate ()),
173
173
timer_base_(uv_now(isolate_data->event_loop ())),
174
- printed_error_(false ),
175
- abort_on_uncaught_exception_(false ),
176
- emit_env_nonstring_warning_(true ),
177
- emit_err_name_warning_(true ),
178
- makecallback_cntr_(0 ),
179
174
should_abort_on_uncaught_toggle_(isolate_, 1 ),
180
175
trace_category_state_(isolate_, kTraceCategoryCount ),
181
176
stream_base_state_(isolate_, StreamBase::kNumStreamBaseStateFields ),
182
- http_parser_buffer_(nullptr ),
183
177
fs_stats_field_array_(isolate_, kFsStatsBufferLength ),
184
178
fs_stats_field_bigint_array_(isolate_, kFsStatsBufferLength ),
185
179
context_(context->GetIsolate (), context) {
Original file line number Diff line number Diff line change @@ -945,11 +945,11 @@ class Environment {
945
945
ImmediateInfo immediate_info_;
946
946
TickInfo tick_info_;
947
947
const uint64_t timer_base_;
948
- bool printed_error_;
949
- bool abort_on_uncaught_exception_;
950
- bool emit_env_nonstring_warning_;
951
- bool emit_err_name_warning_;
952
- size_t makecallback_cntr_;
948
+ bool printed_error_ = false ;
949
+ bool abort_on_uncaught_exception_ = false ;
950
+ bool emit_env_nonstring_warning_ = true ;
951
+ bool emit_err_name_warning_ = true ;
952
+ size_t makecallback_cntr_ = 0 ;
953
953
std::vector<double > destroy_async_id_list_;
954
954
955
955
std::shared_ptr<EnvironmentOptions> options_;
@@ -1004,7 +1004,7 @@ class Environment {
1004
1004
double * heap_statistics_buffer_ = nullptr ;
1005
1005
double * heap_space_statistics_buffer_ = nullptr ;
1006
1006
1007
- char * http_parser_buffer_;
1007
+ char * http_parser_buffer_ = nullptr ;
1008
1008
bool http_parser_buffer_in_use_ = false ;
1009
1009
std::unique_ptr<http2::Http2State> http2_state_;
1010
1010
You can’t perform that action at this time.
0 commit comments