Changeset 5736
- Timestamp:
- Feb 12, 2018 7:07:02 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/csharp/sample.cs
r5735 r5736 25 25 public class MyAccount : Account 26 26 { 27 ~MyAccount() 28 { 29 Console.WriteLine("*** Account is being deleted"); 30 } 31 27 32 override public void onRegState(OnRegStateParam prm) 28 33 { … … 81 86 acc.create(accCfg); 82 87 88 Console.WriteLine("*** DESTROYING PJSUA2 ***"); 89 // Explicitly delete account when unused 90 acc.Dispose(); 83 91 ep.libDestroy(); 84 92 } catch (Exception err) {
Note: See TracChangeset
for help on using the changeset viewer.