Skip to content

Fix crash when loading signal chain with invalid file in File Reader#289

Merged
aacuevas merged 1 commit intoopen-ephys:developmentfrom
tne-lab:fr-invalid-file-fix
Jan 30, 2019
Merged

Fix crash when loading signal chain with invalid file in File Reader#289
aacuevas merged 1 commit intoopen-ephys:developmentfrom
tne-lab:fr-invalid-file-fix

Conversation

@ethanbb
Copy link
Copy Markdown
Contributor

@ethanbb ethanbb commented Jan 30, 2019

The GUI currently crashes due to a null pointer dereference when you try to load a signal chain that includes a File Reader with a file loaded that doesn't exist on your computer. This PR adds a guard to prevent the dereference, so instead the chain loads with no file open in the File Reader, as expected.

@aacuevas aacuevas merged commit a1d483e into open-ephys:development Jan 30, 2019
@ethanbb ethanbb deleted the fr-invalid-file-fix branch January 31, 2019 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants