Summary: input_method's context set to NULL when context is freed.
Test Plan: N/A
Reviewers: zmike, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3015
Change-Id: Ie97830a4fed062ae477ff1bdb7878819b2dc39ce
if (context->keyboard)
wl_resource_destroy(context->keyboard);
+ if ((context->input_method) &&
+ (context->input_method->context == context))
+ context->input_method->context = NULL;
+
free(context);
}