ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=ae73791f78f71ff1c05e70fed24749ff4e09b137

commit ae73791f78f71ff1c05e70fed24749ff4e09b137
Author: Al Poole <[email protected]>
Date:   Tue Mar 21 22:44:33 2017 +0000

    Fix SEGV on shutdown with main window and project open...
    
    Reviewers: ajwillia.ms
    
    Differential Revision: https://phab.enlightenment.org/D4725
---
 src/bin/edi_logpanel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/edi_logpanel.c b/src/bin/edi_logpanel.c
index 9fb53e1..fbf21d4 100644
--- a/src/bin/edi_logpanel.c
+++ b/src/bin/edi_logpanel.c
@@ -36,6 +36,8 @@ _edi_logpanel_print_cb(const Eina_Log_Domain *domain, 
Eina_Log_Level level,
    unsigned int printed, buffer_len = 512;
    char buffer [buffer_len];
 
+   if (_edi_log_dom == -1) return; 
+
    if (_edi_logpanel_ignore(level, fnc))
      return;
 

-- 


Reply via email to