remove unnecessary includes
This commit is contained in:
@@ -95,7 +95,6 @@ void InitSignalHandlers(const std::function<void()> &shutdown_fun) {
|
||||
auto shutdown = [shutdown_fun]() {
|
||||
if (is_shutting_down) return;
|
||||
is_shutting_down = 1;
|
||||
// memgraph::memory::UnSetHooks();
|
||||
shutdown_fun();
|
||||
};
|
||||
|
||||
|
||||
@@ -10,24 +10,13 @@
|
||||
// licenses/APL.txt.
|
||||
|
||||
#include "memory_control.hpp"
|
||||
#include <fmt/core.h>
|
||||
#include <unistd.h>
|
||||
#include <atomic>
|
||||
#include <cstdint>
|
||||
#include <ios>
|
||||
#include <mutex>
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/logging.hpp"
|
||||
#include "utils/memory_tracker.hpp"
|
||||
#include "utils/readable_size.hpp"
|
||||
|
||||
#if USE_JEMALLOC
|
||||
#include <jemalloc/jemalloc.h>
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
namespace memgraph::memory {
|
||||
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
|
||||
|
||||
Reference in New Issue
Block a user