diff options
author | 2017-12-07 21:09:11 -0800 | |
---|---|---|
committer | 2017-12-07 21:09:11 -0800 | |
commit | caaf416eba1390b1acc2f1735448277f69ee50b6 (patch) | |
tree | 89bbdd3f4ee5bf8916cd3a445ea97f49f95b1f68 /src/core/lib/iomgr/exec_ctx.h | |
parent | d6c292f17779771e665816f8f3a4cf366fc7012e (diff) |
virtual destructor in exec_ctx, remove unneeded flush in grpc_shutdown and remove grpc_exec_ctx from .pxi files in python
Diffstat (limited to 'src/core/lib/iomgr/exec_ctx.h')
-rw-r--r-- | src/core/lib/iomgr/exec_ctx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/exec_ctx.h b/src/core/lib/iomgr/exec_ctx.h index b0c1740155..dbb76af1eb 100644 --- a/src/core/lib/iomgr/exec_ctx.h +++ b/src/core/lib/iomgr/exec_ctx.h @@ -80,7 +80,7 @@ class ExecCtx { ExecCtx(uintptr_t fl) : flags_(fl) { Set(this); } /** Destructor */ - ~ExecCtx() { + virtual ~ExecCtx() { flags_ |= GRPC_EXEC_CTX_FLAG_IS_FINISHED; Flush(); Set(last_exec_ctx_); |