osu.Framework/Graphics/Containers/CompositeDrawable.cs
/// <summary>
/// Unbinds a child's bindings synchronously and queues an asynchronous disposal of the child.
/// </summary>
/// <param name="drawable">The child to dispose.</param>
Unbinds a child's bindings synchronously and queues an asynchronous disposal of the child.
Unbinds a child ' s bindings synchronously and queues an asynchronous disposal of the child .
internal void DisposeChildAsync(Drawable drawable)
        {
            drawable.UnbindAllBindables();
            Task.Run(drawable.Dispose);
        }
internal void DisposeChildAsync ( Drawable drawable ) { drawable . UnbindAllBindables ( ) ; Task . Run ( drawable . Dispose ) ; }
Unbinds a child's bindings synchronously and queues an asynchronous disposal of the child.
Unbinds a child ' s bindings synchronously and queues an asynchronous disposal of the child .
drawable
Drawable
The child to dispose.
The child to dispose .