#define MAX_FILE_LENGTH 256
int g_session_type = -1;
+#ifdef TIZEN_TV
+static char g_filename[64];
+#endif
struct sigaction session_int_old_action;
struct sigaction session_abrt_old_action;
EXPORT_API
void mm_session_dotnet_cleanup(int signo)
{
- debug_warning("dotnet cleanup [%d]", signo);
- _mm_session_util_delete_information(-1);
-
+ unlink(g_filename);
}
static bool _is_dotnet_app(void)
{
#ifdef TIZEN_TV
if (_is_dotnet_app()) {
debug_warning("no signal handler for dotnet!!");
+ snprintf(g_filename, sizeof(g_filename)-1, "/tmp/mm-session/mm_session_%d", getpid());
return;
}
#endif