diff options
Diffstat (limited to 'src/env-inl.h')
-rw-r--r-- | src/env-inl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/env-inl.h b/src/env-inl.h index 2002df9abaf..3c7b83795d7 100644 --- a/src/env-inl.h +++ b/src/env-inl.h @@ -888,6 +888,14 @@ inline bool Environment::owns_inspector() const { return flags_ & kOwnsInspector; } +bool Environment::filehandle_close_warning() const { + return emit_filehandle_warning_; +} + +void Environment::set_filehandle_close_warning(bool on) { + emit_filehandle_warning_ = on; +} + inline uint64_t Environment::thread_id() const { return thread_id_; } |