Skip to content

Commit 97737ce

Browse files
committed
Merged main into live
2 parents 2a2abbf + bd22ca1 commit 97737ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hub/apps/windows-app-sdk/applifecycle/applifecycle-instancing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ To use the app lifecycle API in WinUI 3 apps:
2424

2525
Apps are single-instanced if there can be only one main process running at a time. Attempting to launch a second instance of a single-instanced app typically results in the first instance's main window being activated instead. Note that this only applies to the main process. Single-instanced apps can create multiple background processes and still be considered single instanced.
2626

27-
WinUI apps are single-instanced by default but have the ability to become multi-instanced by deciding at launch-time whether to create an additional instance or activate an existing instance instead.
27+
WinUI apps are multi-instanced by default but have the ability to become single-instanced by deciding at launch-time whether to create an additional instance or activate an existing instance instead.
2828

2929
The [Microsoft Photos](https://www.microsoft.com/store/productId/9WZDNCRFJBH4) app is a good example of a single instanced WinUI app. When you launch Photos for the first time, a new window will be created. If you attempt to launch Photos again, the existing window will be activated instead.
3030

@@ -34,7 +34,7 @@ For an example of how to implement single instancing in a WinUI 3 app with C#, s
3434

3535
Apps are multi-instanced if the main process can be run multiple times simultaneously. Attempting to launch a second instance of a multi-instanced app creates a new process and main window.
3636

37-
Traditionally, unpacked apps are multi-instanced by default, but can implement single-instancing when necessarily. Typically this is done using a single named mutex to indicate if an app is already running.
37+
Traditionally, unpackaged apps are multi-instanced by default, but can implement single-instancing when necessarily. Typically this is done using a single named mutex to indicate if an app is already running.
3838

3939
Notepad is a good example of a multi instanced app. Each time you attempt to launch Notepad, a new instance of Notepad will be created regardless of how many instances are already running.
4040

0 commit comments

Comments
 (0)