Fixed bug in TargetControllerConsole, where the TargetController would respond to an event before the TargetControllerConsole could register an interest in the response, resulting the the TargetControllerConsole missing the response.
This commit is contained in:
@@ -104,7 +104,7 @@ namespace Bloom
|
||||
* @return
|
||||
*/
|
||||
static auto getSupportedTargets() {
|
||||
static std::map<std::string, std::function<std::unique_ptr<Targets::Target>()>> mapping;
|
||||
static auto mapping = std::map<std::string, std::function<std::unique_ptr<Targets::Target>()>>();
|
||||
|
||||
if (mapping.empty()) {
|
||||
mapping = {
|
||||
|
||||
Reference in New Issue
Block a user