This commit is contained in:
@@ -11,8 +11,8 @@ class ContextPool {
|
||||
public:
|
||||
ContextPool(asIScriptEngine* engine) : _engine(engine) {}
|
||||
|
||||
~ContextPool(){
|
||||
for (auto ctx: _pool){
|
||||
~ContextPool() {
|
||||
for (auto ctx : _pool) {
|
||||
ctx->Release();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user