Skip to content

Commit

Permalink
(Green) This fixes profiler SEGV?
Browse files Browse the repository at this point in the history
  • Loading branch information
higepon committed May 15, 2010
1 parent 3eb2eee commit 85362c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.cpp
Expand Up @@ -149,7 +149,9 @@ void showUsage()
#ifdef ENABLE_PROFILER
void signal_handler(int signo)
{
theVM->collectProfile();
if (signo == SIGPROF) {
theVM->collectProfile();
}
}
#endif

Expand Down

0 comments on commit 85362c3

Please sign in to comment.