slyphon-zookeeper 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ v0.8.2 fix close after a fork()
2
+
3
+ * The dispatch thread will be dead in this situation, so we need to
4
+ check to see if it's already dead before waiting on it to exit.
5
+
6
+ v0.8.1 Java client fix, silence warnings
7
+
1
8
  v0.8.0 Refactor C implementaion, EventMachine client
2
9
 
3
10
  * separated CZookeeper and ZookeeperBase implementation
@@ -80,6 +80,11 @@ protected
80
80
  logger.debug { "#{self.class}##{__method__}" }
81
81
 
82
82
  if @dispatcher
83
+ if @dispatcher.join(0)
84
+ @dispatcher = nil
85
+ return
86
+ end
87
+
83
88
  @mutex.synchronize do
84
89
  event_queue.graceful_close!
85
90
 
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "slyphon-zookeeper"
6
- s.version = '0.8.1'
6
+ s.version = '0.8.2'
7
7
 
8
8
  s.authors = ["Phillip Pearson", "Eric Maland", "Evan Weaver", "Brian Wickman", "Neil Conway", "Jonathan D. Simms"]
9
9
  s.email = ["slyphon@gmail.com"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slyphon-zookeeper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 1
10
- version: 0.8.1
9
+ - 2
10
+ version: 0.8.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phillip Pearson
@@ -62,7 +62,7 @@ dependencies:
62
62
  requirements:
63
63
  - - "="
64
64
  - !ruby/object:Gem::Version
65
- hash: -3275003094
65
+ hash: -1854519556
66
66
  segments:
67
67
  - 1
68
68
  - 0