mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fixed used of cleaned-up context by runner's destructor
This was causing a segfault for some
This commit is contained in:
		| @@ -27,6 +27,8 @@ namespace Catch { | ||||
|      | ||||
|     struct IContext | ||||
|     { | ||||
|         virtual ~IContext(){} | ||||
|          | ||||
|         virtual IResultCapture& getResultCapture() = 0; | ||||
|         virtual IRunner& getRunner() = 0; | ||||
|         virtual IReporterRegistry& getReporterRegistry() = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash