</li>
<li>This callback is triggered when the widget instance is destroyed.
-<p>Release all widget resources. If the <span style="font-family: Courier New,Courier,monospace">reason</span> for the termination is not <span style="font-family: Courier New,Courier,monospace">WIDGET_APP_DESTROY_TYPE_DEFAULT</span>, store the current status with the incoming bundle.</p>
+<p>Release all widget resources. If the <span style="font-family: Courier New,Courier,monospace">reason</span> for the termination is not <span style="font-family: Courier New,Courier,monospace">WIDGET_APP_DESTROY_TYPE_PERMANENT</span>, store the current status with the incoming bundle.</p>
<pre class="prettyprint">
int widget_instance_destroy(widget_context_h context, widget_app_destroy_type_e reason, bundle *content, void *user_data)
{
- if (reason != WIDGET_APP_DESTROY_TYPE_DEFAULT)
+ if (reason != WIDGET_APP_DESTROY_TYPE_PERMANENT)
{
// Save the current status at the bundle object
}