From bb7d6e4ef0c82e13952a3d0a652b2eba028a7e25 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Wed, 2 Dec 2020 16:31:06 -0800 Subject: [PATCH] Fix broken destroy_context() in gpu_multi_context_threaded_aottest.cpp --- test/generator/gpu_multi_context_threaded_aottest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/generator/gpu_multi_context_threaded_aottest.cpp b/test/generator/gpu_multi_context_threaded_aottest.cpp index 05852909ba57..fdaab364b7c9 100644 --- a/test/generator/gpu_multi_context_threaded_aottest.cpp +++ b/test/generator/gpu_multi_context_threaded_aottest.cpp @@ -107,7 +107,9 @@ bool init_context(int &context) { context = 0; return true; } -void destroy_context(int & /* context */) { +void destroy_context(int &context) { + context = 0; +} #define HAS_MULTIPLE_CONTEXTS false #endif