Changeset 2517

Show
Ignore:
Timestamp:
07/27/07 16:42:23
Author:
pvanhoof
Message:

Locking fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/pvanhoof/sessionwork/libtinymail-camel/camel-lite/camel/providers/pop3/camel-pop3-engine.c

    r2490 r2517  
    436436        } 
    437437 
    438         g_static_rec_mutex_unlock (pe->lock); 
    439  
    440438        if (have_err) 
    441439                camel_service_disconnect (CAMEL_SERVICE (pe->store), FALSE, &ex); 
     440 
     441        g_static_rec_mutex_unlock (pe->lock); 
    442442 
    443443        return pe->current==NULL?0:1; 
     
    462462                pe->current = NULL; 
    463463        } 
    464         g_static_rec_mutex_unlock (pe->lock); 
    465  
    466         /* Gah! */ 
     464 
    467465        camel_service_disconnect (CAMEL_SERVICE (pe->store), FALSE, &ex); 
     466 
     467        g_static_rec_mutex_unlock (pe->lock); 
    468468 
    469469        return -1;