Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1674

Guard against users issuing next/break in called block

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0.rc0, 2.7.1
    • Affects Version/s: None
    • Component/s: None
    • None

      next/break in the block will affect the loop in with_transaction, causing hard to debug behavior. with_transaction should recognize when its loop has been messed with and complain loudly.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: