Details
-
Bug
-
Resolution: Won't Do
-
Critical
-
None
-
None
-
None
-
Security Level: Public
-
None
Description
There is a problem when the library used in em-synchrony context and receives error using global error handler. The library can neither safely throw and exception in this case, nor execute user-specified function. The example of code is below
require 'couchbase'
require 'em-synchrony'
EM.epoll
EM.synchrony do
begin
Couchbase::Bucket.new(engine: :eventmachine)
ensure
puts "connected"
end
EM.stop
end