]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/simple: destroy spinlock in destructor
authorJason Dillaman <dillaman@redhat.com>
Tue, 12 Jan 2016 14:50:25 +0000 (09:50 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 13 Jan 2016 14:54:29 +0000 (09:54 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/msg/simple/SimpleMessenger.cc

index 721dc4c9177e4a8feb55ba9c49efc47ebcabfdf2..928259cec1fcb401a4ab1fda7dc9719ebd0d4f24 100644 (file)
@@ -70,6 +70,7 @@ SimpleMessenger::~SimpleMessenger()
   assert(!did_bind); // either we didn't bind or we shut down the Accepter
   assert(rank_pipe.empty()); // we don't have any running Pipes.
   assert(!reaper_started); // the reaper thread is stopped
+  ceph_spin_destroy(&global_seq_lock);
 }
 
 void SimpleMessenger::ready()