// found in the LICENSE file.
#include "atom/common/native_mate_converters/callback.h"
+#include "tizen/common/env_variables.h"
using content::BrowserThread;
struct DeleteOnUIThread {
template<typename T>
static void Destruct(const T* x) {
- if (Locker::IsBrowserProcess() &&
+ if ((::tizen::is_single_process || Locker::IsBrowserProcess()) &&
!BrowserThread::CurrentlyOn(BrowserThread::UI)) {
BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE, x);
} else {