Title: Memory leak in panel example? · Issue #72 · ros-visualization/visualization_tutorials · GitHub
Open Graph Title: Memory leak in panel example? · Issue #72 · ros-visualization/visualization_tutorials
X Title: Memory leak in panel example? · Issue #72 · ros-visualization/visualization_tutorials
Description: Hello, Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak e.g. here. The class has no destructor, ...
Open Graph Description: Hello, Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak ...
X Description: Hello, Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memo...
Opengraph URL: https://github.com/ros-visualization/visualization_tutorials/issues/72
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory leak in panel example?","articleBody":"Hello,\r\n\r\nThanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak e.g. [here](https://github.com/ros-visualization/visualization_tutorials/blob/0ba771c1ad56ff78afab17d243ac6e628db6b706/rviz_plugin_tutorials/src/teleop_panel.cpp#L66). The class has no destructor, so it seems like we're dynamically allocating memory and never freeing it.\r\n\r\nIt's been a while since I've used Qt, so unsure if it would be handling the memory management under the hood? Figured it'd be a good opportunity to learn either way :smile: ","author":{"url":"https://github.com/riv-tnoble","@type":"Person","name":"riv-tnoble"},"datePublished":"2021-07-16T21:41:06Z","url":"https://github.com/ros-visualization/visualization_tutorials/issues/72"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef12801e-b3a7-cb94-98b1-8e0f4c9b1830 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9FA:103E3D:142B07:1BA73B:6B074589 |
| html-safe-nonce | 664413c4593d39e5f9a3fb061cae688c992ef8a8049cfce6d0e05aff553ebf7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUZBOjEwM0UzRDoxNDJCMDc6MUJBNzNCOjZCMDc0NTg5IiwidmlzaXRvcl9pZCI6IjgwOTgzNTk5Nzg4NTcyODUwMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 67729b2724c47e9a36d0674b0c654e6751ba3620c175228df10cf025ba7a9442 |
| hovercard-subject-tag | issue:946612861 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ros-visualization/visualization_tutorials/72/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98788865aee655cbccb45528989a9d236f3891a4e342417583aa9e9f7098d818/ros-visualization/visualization_tutorials/issues/72 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98788865aee655cbccb45528989a9d236f3891a4e342417583aa9e9f7098d818/ros-visualization/visualization_tutorials/issues/72 |
| og:image:alt | Hello, Thanks for the tutorials! They've been super helpful for me trying to learn how to create a plugin. I've noticed some code in the panel tutorial which I believe may be causing a memory leak ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | riv-tnoble |
| hostname | github.com |
| expected-hostname | github.com |
| None | e906c59266d83416af9bcc8b61b9a96e70a3a84a066bd24f6671c193dd134a04 |
| turbo-cache-control | no-preview |
| go-import | github.com/ros-visualization/visualization_tutorials git https://github.com/ros-visualization/visualization_tutorials.git |
| octolytics-dimension-user_id | 2328629 |
| octolytics-dimension-user_login | ros-visualization |
| octolytics-dimension-repository_id | 6232464 |
| octolytics-dimension-repository_nwo | ros-visualization/visualization_tutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6232464 |
| octolytics-dimension-repository_network_root_nwo | ros-visualization/visualization_tutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a8418b8cd1f6ecc99bee02e3f7dde540702dd08c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width