diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index 01a6e91ee7..ed6a850890 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -982,6 +982,8 @@ int BLASFUNC(blas_thread_shutdown)(void){ int i; + LOCK_COMMAND(&server_lock); + //Free buffers allocated for threads for(i=0; i