988 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
99
views
Why is unity "randomly" making my objects null / stating that they are destroyed?
Sometimes I can play my game the whole way through with no issues, pressing all the same buttons and running all the same code as other times (as far as I'm aware). However, sometimes I get an error ...
0
votes
2
answers
87
views
How to destroy the button from a GtkAda widget?
"MISSING A callback handler is also needed for the X button when you close the dialog otherwise it never closes and remains in the background." I tried the attached code to solve this, but ...
0
votes
2
answers
655
views
Do I need to use takeUntilDestroyed pipe if I open a subscribtion in the Angular app (root) component?
In Angular is good practice to call unsubscribe in open subscriptions on component destroy:
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
export class Component implements OnInit{
...
1
vote
1
answer
397
views
CDK ComponentPortal how to remove Component from view
I'm new to CDK overlays/portals. I have created a component based on the example code from CDK docs. I have removed the example code for both templatePortal and domPortal, in order to concentrate on ...
0
votes
1
answer
49
views
Redmine (RoR)- Accessing IssueRelation during issue destruction
My goal is to propagate the deletion of an issue to change a custom field of the linked issue. So, I intercept the destruction of an issue.
I'm encountering a problem in my redmine plugin. ...
0
votes
1
answer
452
views
How do I destroy a part when it touches another part?
I'm trying to script a Roblox game.
The aim for now is when I click the "AttractButton" the Object should attract towards player's location and stop 4 studs away. On the other hand, clicking ...
0
votes
1
answer
135
views
How to to clear/delete all controls on a TWebGridPanel in TMS WEB Core?
I've got a TWebGridPanel component that I'm dynamically populating with rows and columns as well as controls within those rows and columns.
My issue is that I need to clear/delete/destroy all controls ...
2
votes
1
answer
78
views
How can software save tkinter Canvas Rectangle geometry when the root window is closed?
My program displays a Rectangle on top of a video image on a tkinter.Canvas. A mouse handler lets the user move and stretch the rectangle to identify an area of the video for processing. When the ...
0
votes
1
answer
61
views
Where to destroy TextEditingController when passing as a function parameter?
There are documentation on how to properly destroy TextEditingController, but these documentation don't help my case. I have duplicate codes in my project, so I was thinking to minimize the code by ...
0
votes
1
answer
101
views
delete tkinter labels after you click a button
I am making a story-based game on Tkinter and I what I want is that once the play clicks the next button, or makes a decision I want that block of text to disappear so the player can focus on the next ...
0
votes
1
answer
104
views
Can't destroy a article | can't change from the action controller to the destroy
I'm very new to Ruby on Rails and I m following this tutorial https://guides.rubyonrails.org/getting_started.html#using-partials-to-share-view-code
Now I in the "7.5 Deleting an Article" I m ...
2
votes
1
answer
90
views
Why can't I "destroy" CRTP vector that is "self-owned" but still can deallocate its address?
From Björn Fahller's Ligthning Talk at CPP Meeting 2023. => youtu.be/LKKmPAQFNgE
It's about how one can force c++ to leak memory without touching new or even malloc.
struct V : vector<V>...
2
votes
1
answer
549
views
Canvas is already in use even after using destroy() when leave the page and comeback to add data
I am getting the error Canvas is already in use. Chart with ID ' ' must be destroyed before the canvas with ID 'MyChart' can be reused. The error appears 4/5 times for each particular id in the ...
0
votes
1
answer
92
views
Vue Destroy Sortable Element
Summary
Create Panel, and add Layers to panel. When trying to delete a layer
the last layer in the panel is deleted, instead of the layer item
selected for destruction.
Full Issue:
Understanding ...
-1
votes
1
answer
42
views
CSS: How to Annihilate / Clip element below?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
#a {
position: relative;
...