WidgetKit getSnapshot function is not called?

Sometime, when I open the Widget Gallery, function getSnapshot(for:in:completion:) in TimelineProvider is not called. Is this a feature or a bug? When is this function called?
Thank you.

May be it's not called until the previous preview is expired?

WidgetKit getSnapshot function is not called?
 
 
Q