File 1319-erts-Cleanup-error_logger-after-max_heap-testcase.patch of Package erlang
From b56685c950d4b72c5da381f59cbc351f16e82435 Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Thu, 25 Nov 2021 17:31:32 +0100
Subject: [PATCH 08/11] erts: Cleanup error_logger after max_heap testcase
---
erts/emulator/test/process_SUITE.erl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/erts/emulator/test/process_SUITE.erl b/erts/emulator/test/process_SUITE.erl
index a8e2197938..bd6202f333 100644
--- a/erts/emulator/test/process_SUITE.erl
+++ b/erts/emulator/test/process_SUITE.erl
@@ -2308,6 +2308,8 @@ spawn_opt_max_heap_size(_Config) ->
%% Test that ordinary case works as expected again
max_heap_size_test(1024, 1024, true, true),
+ error_logger:delete_report_handler(?MODULE),
+
ok.
max_heap_size_test(Option, Size, Kill, ErrorLogger)
--
2.31.1