Skip to content

Conversation

@Mogball
Copy link
Contributor

@Mogball Mogball commented Nov 19, 2017

todo:

  • redo with new memory stuff once that's merged
  • remove inheritance because it's causing trouble with the memory stuff
  • moar tests

@Mogball Mogball self-assigned this Nov 20, 2017
@dhillondeep
Copy link
Contributor

it seems like it has segmentation faults

free<EventData>(pData);
}
} else {
// TODO - capture software lock here for thread-safety if necessary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will be on single thread so don't worry about the lock

}

void setValue(int value) {
TestData* data = new TestData();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you free this?

@Mogball Mogball changed the title [Lib] State Machine [Lib] State Machine + [HF] memory fixes Nov 21, 2017
@dhillondeep dhillondeep merged commit e442cc0 into wloop:master Nov 21, 2017
@Mogball Mogball deleted the jeff/fsm branch November 21, 2017 02:50
dhillondeep pushed a commit that referenced this pull request May 26, 2020
* Created state machine class and defn

* f

* object size is stored to free them properly

* Removed dynamic event data allocation

* Updated with master

* memory test fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants