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 @@ -172,15 +172,9 @@ Environment::Environment(IsolateData* isolate_data,
172
172
immediate_info_(context->GetIsolate ()),
173
173
tick_info_(context->GetIsolate ()),
174
174
timer_base_(uv_now(isolate_data->event_loop ())),
175
- printed_error_(false ),
176
- abort_on_uncaught_exception_(false ),
177
- emit_env_nonstring_warning_(true ),
178
- emit_err_name_warning_(true ),
179
- makecallback_cntr_(0 ),
180
175
should_abort_on_uncaught_toggle_(isolate_, 1 ),
181
176
trace_category_state_(isolate_, kTraceCategoryCount ),
182
177
stream_base_state_(isolate_, StreamBase::kNumStreamBaseStateFields ),
183
- http_parser_buffer_(nullptr ),
184
178
fs_stats_field_array_(isolate_, kFsStatsBufferLength ),
185
179
fs_stats_field_bigint_array_(isolate_, kFsStatsBufferLength ),
186
180
context_(context->GetIsolate (), context) {
Original file line number Diff line number Diff line change @@ -950,11 +950,11 @@ class Environment {
950
950
ImmediateInfo immediate_info_;
951
951
TickInfo tick_info_;
952
952
const uint64_t timer_base_;
953
- bool printed_error_;
954
- bool abort_on_uncaught_exception_;
955
- bool emit_env_nonstring_warning_;
956
- bool emit_err_name_warning_;
957
- size_t makecallback_cntr_;
953
+ bool printed_error_ = false ;
954
+ bool abort_on_uncaught_exception_ = false ;
955
+ bool emit_env_nonstring_warning_ = true ;
956
+ bool emit_err_name_warning_ = true ;
957
+ size_t makecallback_cntr_ = 0 ;
958
958
std::vector<double > destroy_async_id_list_;
959
959
960
960
std::shared_ptr<EnvironmentOptions> options_;
@@ -1010,7 +1010,7 @@ class Environment {
1010
1010
double * heap_statistics_buffer_ = nullptr ;
1011
1011
double * heap_space_statistics_buffer_ = nullptr ;
1012
1012
1013
- char * http_parser_buffer_;
1013
+ char * http_parser_buffer_ = nullptr ;
1014
1014
bool http_parser_buffer_in_use_ = false ;
1015
1015
std::unique_ptr<http2::Http2State> http2_state_;
1016
1016
You can’t perform that action at this time.
0 commit comments