aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/exec_ctx.h
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-12-07 21:09:11 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2017-12-07 21:09:11 -0800
commitcaaf416eba1390b1acc2f1735448277f69ee50b6 (patch)
tree89bbdd3f4ee5bf8916cd3a445ea97f49f95b1f68 /src/core/lib/iomgr/exec_ctx.h
parentd6c292f17779771e665816f8f3a4cf366fc7012e (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.h2
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_);