bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59204] NSOperationQueue leak


From: Larry Campbell
Subject: [bug #59204] NSOperationQueue leak
Date: Sun, 11 Oct 2020 11:01:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15

Follow-up Comment #11, bug #59204 (project gnustep):

I don't see why we need to support 'break' at all. In other words, I propose
getting rid of the do/while loop in both cases.

Since you often want to wrap the body of a loop in an autorelease pool,
hijacking break & continue is particularly dangerous.

And yes, there's no good way to handle return. Other than by commenting the
macros and making sure people are aware of the difficulty.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59204>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]