mbien commented on code in PR #9776: URL: https://github.com/apache/netbeans/pull/9776#discussion_r4501793670
########## ide/projectui/src/org/netbeans/modules/project/ui/actions/SetMainProject.java: ########## Review Comment: > If the update is scheduled but not running, maybe. But there's a race condition if the task is running in the RequestProcessor and refreshing is already true? you are probably looking at the the wrong boolean. `refreshing` is re-entry protection. `needsRefresh` is the signal `isEnabled()`.. are reading. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
