Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove probe_rs::Session global #105

Open
tmplt opened this issue Jan 6, 2022 · 0 comments
Open

Remove probe_rs::Session global #105

tmplt opened this issue Jan 6, 2022 · 0 comments
Labels
Milestone

Comments

@tmplt
Copy link
Member

tmplt commented Jan 6, 2022

// XXX This one is messy: a &mut 'a of the session is required to read
// trace data from it, but sticking it in a Box at the tail-end of trace
// requires it to be 'static.
//
// TODO remove this global
static mut SESSION: Option<probe_rs::Session> = None;

@tmplt tmplt added the refactor label Jan 6, 2022
@tmplt tmplt added this to the v0.3.1 milestone Jan 6, 2022
@tmplt tmplt modified the milestones: v0.3.1, v0.3.2 Jan 13, 2022
@tmplt tmplt modified the milestones: v0.3.3, v0.4.0 Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant